Skip to content

Commit

Permalink
Include border widths when measuring grid templates for controls (#6622)
Browse files Browse the repository at this point in the history
**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
  • Loading branch information
ruggi authored and liady committed Dec 13, 2024
1 parent e3e9c8f commit d32712f
Show file tree
Hide file tree
Showing 8 changed files with 1,646 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ Object {
"alignItems": null,
"alignSelf": null,
"borderRadius": null,
"borderWidths": Object {
"bottom": 0,
"left": 0,
"right": 0,
"top": 0,
},
"clientHeight": 0,
"clientWidth": 0,
"closestOffsetParentPath": Object {
Expand Down Expand Up @@ -328,6 +334,12 @@ Object {
"alignItems": null,
"alignSelf": null,
"borderRadius": null,
"borderWidths": Object {
"bottom": 0,
"left": 0,
"right": 0,
"top": 0,
},
"clientHeight": 0,
"clientWidth": 0,
"closestOffsetParentPath": Object {
Expand Down
Loading

0 comments on commit d32712f

Please sign in to comment.