Skip to content

Hide tooltip when its anchor element is moved off-screen #776

@matthew-white

Description

@matthew-white

See getodk/central-frontend#811 (comment). If a tooltip is shown for an element, then the element is moved off-screen, the tooltip should be hidden. Maybe we could set up an intersection observer on the element?

I feel like I've encountered a separate bug related to tooltips and scrolling the page, but I'm not able to rediscover it at the moment. It's possible that such a bug could be fixed at the same time as this one. I'll update this description if I encounter other tooltip issues that seem related to this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendRequires a change to the UI

    Type

    Projects

    Status

    🕒 backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions