-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grids) Maintain Grid Cell Pins. (#6691)
- Added `printPinAsString` utility function. - Implemented `getGridRelativeContainingBlock` to calculate a new containing block by building a minimal purely HTML reproduction of the grid so as to use the browser logic for the position and size of the containing block. - Refactored out `getNewGridElementProps` from the start of `runGridChangeElementLocation` so that it can be used to identify the new grid position on its own. - Refactored out `getMoveCommandsForDrag` from `getMoveCommandsForSelectedElement`. - Replaced `gridChildAbsoluteMoveCommands` with a call to `getMoveCommandsForDrag` in the Grid Absolute Move strategy. - Added `GridElementChildContainingBlockKey` for simplicity.
- Loading branch information
1 parent
76855f9
commit 78a7eaf
Showing
8 changed files
with
465 additions
and
109 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
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
Oops, something went wrong.