-
Notifications
You must be signed in to change notification settings - Fork 174
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
Include border widths when measuring grid templates for controls #6622
Conversation
#15052 Bundle Size — 58.05MiB (~+0.01%).4c4b0c4(current) vs d1d46c1 master#15043(baseline) Warning Bundle contains 70 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
Bundle analysis report Branch fix/grid-measurement-border Project dashboard Generated by RelativeCI Documentation Report issue |
Instead of rendering the grid helper/control from the metadata, maybe we could just find the actual grid in the DOM and use its computed style to render the appropriate helper grid. It would be simpler (we don't have to save the style data in the metadata and then recreate that again in the control) and better too (now theoretically there is a frame delay before the control is updated, because we need to dom-walk the grid and store the results in the metadata first). WDYT? |
**Problem:** Border width is not taken into account when calculating grid template measurements, which results in the grid placeholders being misplaced. **Fix:** Include the border widths in the special size measurements and use them (transparent) for the grid placeholder styles. Fixes #6619
Problem:
Border width is not taken into account when calculating grid template measurements, which results in the grid placeholders being misplaced.
Fix:
Include the border widths in the special size measurements and use them (transparent) for the grid placeholder styles.
Fixes #6619