-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because "@after-show" is still happening too early due to v-tooltip's use of "requestAnimationFrame" we can't rely on its events to tell us when the popover is actually visible. This workaround introduces an additional Popover event "after-show" and "after-hide" that are based on monitoring the inner "isOpen" property which is the one toggling the CSS visibility. The Actions popover logic now uses "after-show" to reliably apply the focus on the first action element. Signed-off-by: Vincent Petry <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 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