Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Tooltip stays visible when content button/element is released [mobile] #23

@jonnenauha

Description

@jonnenauha

Using 0.5.2 on a Nexus 9 stable channel Chrome.

I have a <core-tooltip> that hosts <core-item> and <paper-icon-button> both have the same problem.

I like that on touch/press and hold it shows the tooltip, I think this is good behavior. The user can still move his finger out if he wishes to not act on the element. But when the touch/tap is released on the element the tooltip wont hide.

On desktop the tooltip hides once you move your mouse from the element but on mobile you need to click/tap/touch somewhere else on the screen to hide the tooltip. Actually just moving your finger does not hide it, you need to tap a screen location (I guess removing the focus from the tooltip content). Very annoying for the user experience.

Any possibility this mobile release event could be detected form the <core-focusable> the tooltip extends? Is this a bug in there? Seems the button/item release event comes fine as the tap on it is recognized.

I know I could do some JS hack where I detect click/tap events and go through all my elements tooltips and hide them, but this is quite some work for something that I would expect to just work.

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions