-
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.
Freeze grid template during child move (#6201)
**Problem:** Moving grid elements if the template is somewhat dynamic will result in the grid elements likely jumping around because their template changes constantly. **Fix:** Freeze the template during the interaction, by using the calculated dimensions, and restore it once the interaction completes. In the example below, one column is made `min-content` with some fixed-sized elements inside. | Before | After | |-------|-------------| | ![Kapture 2024-08-07 at 15 37 27](https://github.com/user-attachments/assets/da2d824a-ad02-494a-8ff6-7cc03e3b5c95) | ![Kapture 2024-08-07 at 15 36 21](https://github.com/user-attachments/assets/283a5fc0-69b9-41e3-85d2-51be14279585) | Fixes #6200
- Loading branch information
Showing
1 changed file
with
111 additions
and
7 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