#jimmypoulsen
1 messages · Page 1 of 1 (latest)
Hi,
Did you tried to set a min weigh for the container of the Elements?
No, I haven't tried setting a min-height. I guess this would solve the problem with the screen jumping but it doesn't really solve the underlying problem of the component taking too long to render. As you can see our component is step based. Does your payment element by any change trigger an event when it's loaded of some sort that I could listen to and then change step whenever the event occurs?
You can listen to this event:
https://stripe.com/docs/js/element/events/on_ready
Oh. That's perfect! Will try that out and get back to you if I have further questions. Thank you so much 🙏
Np!