Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Paypal Modals hidden behind <dialog> modals #528

Open
wesbos opened this issue Jun 13, 2024 · 4 comments
Open

[Bug] Paypal Modals hidden behind <dialog> modals #528

wesbos opened this issue Jun 13, 2024 · 4 comments

Comments

@wesbos
Copy link

wesbos commented Jun 13, 2024

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:

Screenshot 2024-06-13 at 1 20 12 PM

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 element and if available (currently 100% browser support), use .showModal() to open it. Older browsers can still be polyfilled or just shown with CSS as your already are.

@dkoenigroer
Copy link

Sorry, just deleted my comment and opened another issue. I think its another problem.

Copy link
Contributor

github-actions bot commented Oct 7, 2024

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Stale label Oct 7, 2024
@wesbos
Copy link
Author

wesbos commented Oct 7, 2024

Not stale. Still very much an issue

@github-actions github-actions bot removed the Stale label Oct 8, 2024
@L-Blondy
Copy link

L-Blondy commented Nov 9, 2024

Having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants