-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Image: Fix resizer controls being hidden in Safari when switching bet…
…ween alignments (#37210) * Image: Update naturalWidth and naturalHeight to pull from image ref instead of local component state * Re-introduce onLoad setState behaviour to allow fallback while cropping images * Remove useMemo * Re-instate useMemo as removing it caused the resizer to disappear intermittently
- Loading branch information
1 parent
424d02b
commit 027a3db
Showing
1 changed file
with
32 additions
and
8 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