-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep shorthand values when changing grid item location (#6626)
**Problem:** Changing a grid item location that spans multiple cells via a shorthand (e.g. `gridColumn: '3 / 5'`) regressed and now the interaction causes the element to shrink to 1-sized dimensions. **Fix:** When checking whether to keep the end pins, check whether they come from a shorthand prop too. Also, fix naming of variables when calculating the cell bounds so width is related to cols and height is related to rows. Fixes #6625
- Loading branch information
Showing
3 changed files
with
135 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters