Skip to content

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

@vblagovic

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

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