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
I'm using the popover component and the autoHide is not working. After some investigation, I found the reason is that somewhere the click event was stopped with stopPropagation in our existing code.
Not sure if { capture: true } would have any side effects, but maybe add an option to allow this? Or is there any better solution for my situation? Thanks.
The text was updated successfully, but these errors were encountered:
I'm using the popover component and the
autoHide
is not working. After some investigation, I found the reason is that somewhere the click event was stopped withstopPropagation
in our existing code.I added the
{ capture: true }
option to window.addEventListener('click', handleGlobalClick) and it works.Not sure if
{ capture: true }
would have any side effects, but maybe add an option to allow this? Or is there any better solution for my situation? Thanks.The text was updated successfully, but these errors were encountered: