Skip to content

[BUG] Tooltips aren't completely hidden on page when not showing #918

Closed
@nina-johnson-archive

Description

@nina-johnson-archive

Describe the bug

Tooltips are not being fully hidden in the DOM

Version of Package
v5.4.0

To Reproduce

If you have a list of items (particularly one longer than the view-height of the page), tooltips will take up space in the background even if not active, causing the actual height of the page to be greater than necessary (on our app this caused a huge block of scrollable white space underneath our app).

On inspection, I noticed that tooltips have a CSS property of visibility: hidden rather than display: none, causing it to take up space (even if invisible).

Expected behavior

It should be using display: none when the tooltip is not showing to properly remove it from page calculations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions