Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip is visible after "click" when event is "hover" #1

Open
vblagovic opened this issue Apr 30, 2013 · 0 comments
Open

Tooltip is visible after "click" when event is "hover" #1

vblagovic opened this issue Apr 30, 2013 · 0 comments

Comments

@vblagovic
Copy link

Small thing.
When tooltip is shown on hover, after click event he is simply "hanging" there.
Proposal would be to bind click anyway when hover is used

@$element.hover((=>
    _hover = true

    @updatePosition()
    setTimeout(=>
        @show() if _hover
    , @getSetting 'delay')
), (=>
    _hover = false
    @hide()
)).bind('click', =>
    @hide()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant