Skip to content

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

Description

@vblagovic

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()
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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