baseweb icon indicating copy to clipboard operation
baseweb copied to clipboard

Tooltip should dissapear when trigger is clicked/pressed or after n milliseconds

Open MarcusMorba opened this issue 3 years ago • 0 comments

Sometimes e.g. in a toolbar when a button is pressed, the tooltip hides (newly) displayed content and to avoid this, it should be hidden after the trigger element is clicked or pressed. For this, an additional option should be added to hide the tooltip appearing on hover/focus, when the user clicks the trigger (e.g. a button).

Not the same, but maybe a good/additional alternative could be to set a timer for a tooltip fade out. So the tooltip disappears after a defined time when shown on hover/focus.

Feature description

See the angular example: https://material.angular.io/components/tooltip/overview

MarcusMorba avatar Jul 27 '22 15:07 MarcusMorba