nightscout / cgm-remote-monitor

nightscout web monitor
GNU Affero General Public License v3.0
2.35k stars 71.33k forks source link

hide tooltip by display attribute instead of opacity #8220

Open Joerg-Schoemer opened 5 months ago

Joerg-Schoemer commented 5 months ago

If the tooltip is hidden by opacity, then the tooltip element is still at the top level. This is expressed by an I-Beam cursor where the tooltip was just visible. This prevents any action below this tooltip element even if it is not visible.

If the tooltip element is hidden with display: none;, then no I-Beam cursor appears and everything works as expected 😄 .