opentrials
opentrials copied to clipboard
Enhance tooltips
At present the tooltips we use for the advanced search filters rely on browser title="tooltip text" implementation, meaning that:
- long explanations (e.g. 'Interventions') are not always text-wrapped.
- the tooltip does not appear immediately (the user has to hover their mouse over the '?' icon for the tooltip to appear).
I suggest we use a library to make the tool tips appear:
- text wrapped
- appear immediately on mouse over
A couple of possible solutions:
- Balloon.css: https://kazzkiq.github.io/balloon.css/
- Popper.js: https://popper.js.org
See also Tippy.js