-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep Lock button it in the toolbar until unmounted (#57229)
If the block lock button has been shown, we don't want to remove it from the toolbar until the toolbar is rendered again without a lock button. Removing the lock button beforehand can cause focus loss issues, such as when unlocking the block from the modal. We need to return focus from whence it came, and to do that, we need to leave the button in the toolbar.
- Loading branch information
Showing
3 changed files
with
22 additions
and
49 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