Skip to content

hide tooltip by display attribute instead of opacity#8220

Merged
bewest merged 2 commits intonightscout:devfrom
Joerg-Schoemer:feature/hide-by-display
May 23, 2025
Merged

hide tooltip by display attribute instead of opacity#8220
bewest merged 2 commits intonightscout:devfrom
Joerg-Schoemer:feature/hide-by-display

Conversation

@Joerg-Schoemer
Copy link
Copy Markdown
Contributor

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 😄 .

@bewest bewest merged commit 05b8f08 into nightscout:dev May 23, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants