Using the React library, but this exists with all implementations.
🐞 Describe the Bug
Using a PayPal button to pay, when clicking to open the popup window, paypal shows a modal that essentially disables the website while the work in being done in the popup:
This modal is injected into the body and has a z-index of 2147483647 but that does not go higher than CSS top-layer, on things like a <dialog> element shown with .showModal().
In my case - I have a checkout using a <dialog> element, and the paypal UI renders underneath it.
Library used
Using the React library, but this exists with all implementations.
🐞 Describe the Bug
Using a PayPal button to pay, when clicking to open the popup window, paypal shows a modal that essentially disables the website while the work in being done in the popup:
This modal is injected into the body and has a z-index of
2147483647
but that does not go higher than CSS top-layer, on things like a<dialog>
element shown with.showModal()
.In my case - I have a checkout using a
<dialog>
element, and the paypal UI renders underneath it.Stripe is also suffering from the same issue
The fix is to move Paypal modal to a native