This repository has been archived by the owner on Nov 9, 2024. It is now read-only.
Pass event
into onHide
callback
#1165
Labels
event
into onHide
callback
#1165
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 noevent
in theonHide
callback andonClickOutside
cannot prevent the hiding, this behaviour cannot be achieved in a clean way. Instead I have to rely on the deprecatedwindow.event
.Solution
An
event
should be passed in theonHide
callback and / or hiding should be preventable fromonClickOutside
as suggested in #1155.The text was updated successfully, but these errors were encountered: