-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ResizeObserver: Use contentBoxSize (#2882)
* Use contentBoxSize * Remove logic to set initial dimensions * Fix tests * Set width early * Correctly set initial value * Update src/hooks/useGridDimensions.ts Co-authored-by: Nicolas Stepien <[email protected]> * Update src/hooks/useGridDimensions.ts Co-authored-by: Nicolas Stepien <[email protected]> * Import ceil * Revert * Add back mock contentBoxSize Co-authored-by: Nicolas Stepien <[email protected]>
- Loading branch information
1 parent
fa2f98d
commit 625fad5
Showing
3 changed files
with
29 additions
and
19 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