vaadin / web-components

A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
https://vaadin.com/docs/latest/components
470 stars 83 forks source link

Tooltip follow cursor #6474

Open tarekoraby opened 1 year ago

tarekoraby commented 1 year ago

Describe your motivation

Rather than always showing the Tooltip component in a fixed place, it is sometimes desirable to make it show at the cursor's current position. This is especially relevant when the tooltip is added to large components, where the user might not notice if the tooltip is showing far from the cursor.

Describe the solution you'd like

Vaadin Tooltip should provide something similar to MUI's Tooltip follow cursor option: https://mui.com/material-ui/react-tooltip/#follow-cursor.

Describe alternatives you've considered

No response

Additional context

No response

netsrotr commented 3 weeks ago

That is also very important for us, please investigate/integrate a solution for that!