Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Pass event into onHide callbackย #1165

@zipper

Description

@zipper

Problem

I'm using hideOnClick: true to hide the tooltip when clicked outside the component. But I need to prevent the hiding when clicked inside the related component. Since there is no event in the onHide callback and onClickOutside cannot prevent the hiding, this behaviour cannot be achieved in a clean way. Instead I have to rely on the deprecated window.event.

Solution

An event should be passed in the onHide callback and / or hiding should be preventable from onClickOutside as suggested in #1155.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions