#justin_67784

1 messages · Page 1 of 1 (latest)

hazy shoalBOT
wispy seal
#

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

mellow scroll
#

This project uses React and Remix.

hazy shoalBOT
mellow scroll
#

CSS is loading in fine with the request as well.

wispy seal
#

Can you check your CSS rules for any pointer-events: none style rules?

#

Are you using Radix UI?

mellow scroll
#

Yes, we ARE using Radix and Tailwind

wispy seal
#

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

mellow scroll
#

It looks like it's applying a pointer-events: none to the body.

wispy seal
#

There's a work around, which is to add this custom style rule to your site

body div:first-child {
  pointer-events: auto !important;
}
mellow scroll
#

Perfect.

wispy seal
#

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

mellow scroll
#

It's not hacky, not a bad fix for an edge case. Thanks for the quick help!