opentrials icon indicating copy to clipboard operation
opentrials copied to clipboard

Enhance tooltips

Open benmeg opened this issue 9 years ago • 1 comments

At present the tooltips we use for the advanced search filters rely on browser title="tooltip text" implementation, meaning that:

  1. long explanations (e.g. 'Interventions') are not always text-wrapped.
  2. 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:

  1. text wrapped
  2. appear immediately on mouse over

A couple of possible solutions:

  • Balloon.css: https://kazzkiq.github.io/balloon.css/
  • Popper.js: https://popper.js.org

benmeg avatar Apr 05 '17 14:04 benmeg

See also Tippy.js

FezVrasta avatar Apr 05 '17 18:04 FezVrasta