You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
I want that if i click out tooltip that it should not be close but using clickOutSideAnchor it close tooltip but when we click on tooltip content it also close so can you tell me is there any key inside globalCloseEvents that close tooltip , click anywhere except tooltip it self.
Version of Package
5.28.0
To Reproduce
Steps to reproduce the behavior.
Expected behavior
When click on Tooltip it self it should not close tooltip but click anywhere it should be close.
Screenshots
<Tooltip
anchorSelect='#poll-icon'
id='tool_tip_poll_icon'
isOpen={showPostPollToolTip} // check is any other post poll occur
content={Poll started at ${isAnotherPostPollActiveRef.current.pollTimeFormat || '' } Click here to attempt.}
place='bottom-end'
className={tooltipClass}
setIsOpen={setShowPostPollToolTip}
globalCloseEvents={{ clickOutsideAnchor: true }}
/>
)}
Desktop (please complete the following information if possible or delete this section):
OS: Mac
Browser [Any]
Frameworks [ React 18]
The text was updated successfully, but these errors were encountered:
I want to implement globalCloseEvents={{ clickOutsideAnchor: true }} so thing is that during click on toolitp it self, it close it self bcz you have 'pointer-event:none' property added in on css class. I override that so it work for me now.
Bug description
I want that if i click out tooltip that it should not be close but using clickOutSideAnchor it close tooltip but when we click on tooltip content it also close so can you tell me is there any key inside globalCloseEvents that close tooltip , click anywhere except tooltip it self.
Version of Package
5.28.0
To Reproduce
Steps to reproduce the behavior.
Expected behavior
When click on Tooltip it self it should not close tooltip but click anywhere it should be close.
Screenshots
<Tooltip
anchorSelect='#poll-icon'
id='tool_tip_poll_icon'
isOpen={showPostPollToolTip} // check is any other post poll occur
content={
Poll started at ${isAnotherPostPollActiveRef.current.pollTimeFormat || '' } Click here to attempt.
}place='bottom-end'
className={tooltipClass}
setIsOpen={setShowPostPollToolTip}
globalCloseEvents={{ clickOutsideAnchor: true }}
/>
)}
Desktop (please complete the following information if possible or delete this section):
The text was updated successfully, but these errors were encountered: