-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix link bubble menu state when clicking out or changing selection
This avoids a focus-jump when clicking away from the "Edit" form, by ensuring the bubble menu state is kept in sync. An extra precautionary fallback to `?? ""` is added for the `currentHref` just in case the menu renders when unexpected and no `href` is available, since this can cause a crash (though that scenario is likely resolved by our more deliberate menu-closing, and handled here just as a defensive precaution).
- Loading branch information
1 parent
b5c2d72
commit 5a29ae1
Showing
2 changed files
with
18 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
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