-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve how a tooltip can be connected to an anchor
Key changes: * Easier programmatic instantiation of tooltips with passing down anchor reference and other props via constructor * `aria-details` is now also supported to connect the anchor element (and a warning is filed for rich tooltips not using this) * The matching anchor closest to the tooltip element is used, so that tooltip ids don't necessarily have to be unique. Change-Id: I6a083cd1cf64e22653b8065eb171d240eccb2943 Bug: 392078321 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6286493 Commit-Queue: Marcel Pütz <[email protected]> Reviewed-by: Philip Pfaffe <[email protected]> Reviewed-by: Kateryna Prokopenko <[email protected]>
- Loading branch information
Marcel Pütz
authored and
Devtools-frontend LUCI CQ
committed
Feb 21, 2025
1 parent
0621aea
commit 87bddfd
Showing
3 changed files
with
162 additions
and
15 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