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
Sorry for the delay. If you want clicking the button again to close the popover then you can use bindToggle instead of bindTrigger, which keeps the popover open when clicked. (Though you can't typically click it again while the popover is open because the popover has an invisible backdrop that intercepts the click and calls its onClose handler.)
I'm actually not sure how to trigger a backdrop click in an automated test, right now my own tests call the callback functions directly. I'll investigate this further...
Poppers don't have a backdrop, so users would actually see different behavior between bindTrigger and bindToggle (I assume this is why I created these separate functions in the first place?) I'll think about how to make this less confusing.
This is my main component. When I click on the button popover shows notifications. Let's see...
I tried write tests for that:
Maybe it's an issue with animation (during the assertion component it's in the animation process). But I tried delay assertion for example:
But I got the same results.
How to fix it?
The text was updated successfully, but these errors were encountered: