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

Fallback striped area size when resizing grid cols/rows #6543

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Oct 15, 2024

Problem:

When resizing a grid col/row if the counterpart has no size, the striped area collapses to 0 pixels.

Fix:

Fallback to the frame size if the counterpart axis has no size. Also, disable the mouse event if the dimension is not set.

Before After
Kapture 2024-10-15 at 21 19 53 Kapture 2024-10-15 at 21 19 37

Fixes #6542

Copy link
Contributor

github-actions bot commented Oct 15, 2024

Try me

Copy link

relativeci bot commented Oct 15, 2024

#14803 Bundle Size — 57.96MiB (~+0.01%).

f8e3004(current) vs 916e8b9 master#14802(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#14803
     Baseline
#14802
Regression  Initial JS 40.95MiB(~+0.01%) 40.94MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 17.97% 18.73%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4151 4151
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.34% 27.34%
No change  Packages 477 477
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#14803
     Baseline
#14802
Regression  JS 57.95MiB (~+0.01%) 57.95MiB
Improvement  HTML 7.37KiB (-0.25%) 7.39KiB

Bundle analysis reportBranch fix/fallback-grid-resize-striped...Project dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit 9c831a1 into master Oct 16, 2024
16 checks passed
@ruggi ruggi deleted the fix/fallback-grid-resize-striped-area-size branch October 16, 2024 07:52
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

When resizing a grid col/row if the counterpart has no size, the striped
area collapses to `0` pixels.

**Fix:**

Fallback to the frame size if the counterpart axis has no size. Also,
disable the mouse event if the dimension is not set.

| Before | After |
|------|--------|
| ![Kapture 2024-10-15 at 21 19
53](https://github.com/user-attachments/assets/e9bdcceb-07a5-4b70-9f31-7e6d8dc3b6fe)
| ![Kapture 2024-10-15 at 21 19
37](https://github.com/user-attachments/assets/dfa0b547-e7f7-48a5-a2ae-b3c173640ba8)
|


Fixes #6542
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.

Fallback striped area length for grid resize
3 participants