#robinv

1 messages · Page 1 of 1 (latest)

sand adderBOT
dry cave
#

Hi there!

sand adderBOT
heavy bough
#

Hey, could you please share a recording of the behaviour? Thanks!

ripe raven
#

this shows the part of the page where it's not working, mouse or touch events anywhere over the PaymentElement are not usable for scrolling

heavy bough
#

Thanks, I see.
Our React lib doesn’t support the shadow DOM, so there's not much I can help you with, unfortunately.
There're some community efforts to work around this that you might want to check out: https://github.com/bennypowers/stripe-elements/

ripe raven
#

this one is rendered outside of the shadow DOM though ☝️ and then repositioned over the other element... but maybe that's causing this unwanted side effect somehow...
And yeah I've seen that other library but it does not have the PaymentElement unfurtunately

heavy bough
#

Could you maybe share some code where this is handled?

sand adderBOT
ripe raven
#

this example contains most of the Provider component which is wrapped around the PaymentElement... so that solves the web component issue but probably somehow the stripe component adds "pointer-events: none" to the iframe?

heavy arch
#

but probably somehow the stripe component adds "pointer-events: none" to the iframe?
That can't be customizable or removed AFAIK. This is quiet particular use case honestly 🤔 I'm afraid that outside the official supported Stripe react native plugin issues (e.g. outside of the shadow DOM), we couldn't assist you further....

#

Let me double check again for this...