You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for the awesome library. Currently I'm developing a design system based on material design 3. The general recommendation for opening a tooltip on mobile is to tap and hold instead of just tapping, can we have a prop for trigger component to only open the tooltip on long press? Also it would be awesome to close only after timeout instead of closing on tap again, what you think?
Hey @ceopaludetto, you can achieve this with a Context Menu for Mobile. For the timeout feature, you can use this Common Pattern to set a timeout in the callback function for onLongPress to close the it with its ref.
Hi, thank you for the awesome library. Currently I'm developing a design system based on material design 3. The general recommendation for opening a tooltip on mobile is to tap and hold instead of just tapping, can we have a prop for trigger component to only open the tooltip on long press? Also it would be awesome to close only after timeout instead of closing on tap again, what you think?
Reference: https://m3.material.io/components/tooltips/guidelines#00e87770-86d0-436d-b50b-436ff3cefe75
The text was updated successfully, but these errors were encountered: