-
-
Notifications
You must be signed in to change notification settings - Fork 167
Popover Component (split usecase from Tooltip component) #1520
Description
Description
The OTooltip component can currently be used as either a tooltip or a popover.
However, a popover is slightly different to a tooltip in terms of its use case.
A tooltip should only open on hover and provide additional accessibility support for devices without a mouse. Tooltips should only contain additional informative text and no interactive elements.
In contrast, a popover can be opened by clicking or through other active interactions. Unlike a tooltip, a popover can contain interactive elements and should not be closable by moving the mouse out of the popover by default. It must have different accessibility support to a tooltip and is normally closed by an active interaction event.
Why Oruga need this feature
Improve accessibility support and implement components with distinct use cases.