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
There seems to be a custom focus-trap implementation
I don't see why it doesn't work on first glance - I would guess the keydown event isn't triggered on rootElement, but further up the element tree (i.e. body, or shadowDOM root)
Maybe a native <dialog> element would have been an easier option
Describe the bug
The click-2-pay info modal:
<p>
element after opening,To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context
We are using npm package: @adyen/[email protected]
focusFirstElement
tabindex="-1"
- doesn't seem to workfocusFirstElement
should probably go on the "Close" button insteadkeydown
event isn't triggered onrootElement
, but further up the element tree (i.e. body, or shadowDOM root)<dialog>
element would have been an easier optionThe text was updated successfully, but these errors were encountered: