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
Describe the bug
When the parent element of a Popover component is focusable (e.g. div with tabindex), the Popover won't close if the PopoverButton is clicked.
When playing around with the REPL, I discovered that on Safari the PopoverButton receives focus on every click, thus the Popover is briefly closed and then opened again. I assume that Safari transfers the focus to the parent element and then again to the button element, thus a new focus event is triggered on every click.
Describe the bug
When the parent element of a Popover component is focusable (e.g.
div
with tabindex), the Popover won't close if the PopoverButton is clicked.Affected browser: Safari (macOS & iOS)
To Reproduce
REPL
Library version
1.0.2
The text was updated successfully, but these errors were encountered: