#justin_67784
1 messages · Page 1 of 1 (latest)
Hi 👋
I have seen something like this before. In the past it was a framework putting a restriction in the click through of their CSS.
Watching the video, that is identical to what we saw previously
This project uses React and Remix.
CSS is loading in fine with the request as well.
Can you check your CSS rules for any pointer-events: none style rules?
Are you using Radix UI?
Yes, we ARE using Radix and Tailwind
Okay that is a known problem with Radix UI when loading a modal.
When a modal pops up it sets <body style="pointer-events: none"> on your site
This prevents the 3DS modal from being able to receive pointer events
It looks like it's applying a pointer-events: none to the body.
There's a work around, which is to add this custom style rule to your site
body div:first-child {
pointer-events: auto !important;
}
Perfect.
Because Stripe will append the modal div as the first child of your <body> element
We're trying to make a more elegant fix but for right now that's the best option
It's not hacky, not a bad fix for an edge case. Thanks for the quick help!