Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove grid-area on grid prop change #6123

Merged
merged 3 commits into from
Jul 25, 2024
Merged

Conversation

bkrmendy
Copy link
Contributor

@bkrmendy bkrmendy commented Jul 25, 2024

Problem

If a grid-area prop was present in the style prop of an element, we leave it there after the element is resized/moved even though the newly added grid positioning props override the original grid-area prop.

Fix

Remove the grid-area prop. Consolidating the shorthand props we add into a grid-area prop will come on a follow-up PR.

Copy link
Contributor

github-actions bot commented Jul 25, 2024

Try me

Copy link

relativeci bot commented Jul 25, 2024

#13532 Bundle Size — 62.64MiB (~+0.01%).

7ace1bc(current) vs 6339ece master#13529(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#13532
     Baseline
#13529
Regression  Initial JS 45.71MiB(~+0.01%) 45.71MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 21.56% 21.54%
No change  Chunks 31 31
No change  Assets 34 34
No change  Modules 4380 4380
No change  Duplicate Modules 525 525
No change  Duplicate Code 31.65% 31.65%
No change  Packages 469 469
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#13532
     Baseline
#13529
Regression  JS 62.63MiB (~+0.01%) 62.63MiB
Improvement  HTML 11.16KiB (-0.33%) 11.2KiB

Bundle analysis reportBranch fix/remove-grid-area-on-adjustProject dashboard

@bkrmendy bkrmendy marked this pull request as ready for review July 25, 2024 14:02
@bkrmendy bkrmendy merged commit c94fec0 into master Jul 25, 2024
16 checks passed
@bkrmendy bkrmendy deleted the fix/remove-grid-area-on-adjust branch July 25, 2024 16:26
liady pushed a commit that referenced this pull request Dec 13, 2024
## Problem
If a `grid-area` prop was present in the style prop of an element, we
leave it there after the element is resized/moved even though the newly
added grid positioning props override the original `grid-area` prop.

## Fix
Remove the grid-area prop. Consolidating the shorthand props we add into
a `grid-area` prop will come on a follow-up PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants