Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Line Tooltip should point the arrow to the trigger element #3452

Open
1 of 7 tasks
db-gspeck opened this issue Nov 12, 2024 · 1 comment
Open
1 of 7 tasks

Multi Line Tooltip should point the arrow to the trigger element #3452

db-gspeck opened this issue Nov 12, 2024 · 1 comment
Labels

Comments

@db-gspeck
Copy link

db-gspeck commented Nov 12, 2024

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

Hi Guys, the reproduction steps are the following:

  1. Add a multi-line DbTooltip to an element.
  2. Notice that the arrow is always in the center of the box.

Best Gregor

Expected Behaviour

The arrow should point to the trigger element

Screenshots

Screenshot 2024-11-12 102244

Browser version

None

Add any other context about the problem here.

please have a look to the Anchor CSS API :

https://developer.chrome.com/blog/anchor-positioning-api?hl=de
https://caniuse.com/?search=anchor

Also the popover API can be useful in this case:
https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/popover
https://developer.mozilla.org/de/docs/Web/API/HTMLElement/popover

@mfranzke
Copy link
Member

@db-gspeck thanks a lot for this issue. And I love that you're bringing up these new APIs; this was even already discussed and it's always nice to have some further advocacy on using those.

@mfranzke mfranzke added the 👩‍👧‍👦community feedback Feedback from community label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants