#alexpetzyo_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1333601929674100868
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Demonstration
Hi, will be here shortly
Hmm have you unmounted the div in the modal when clicking close?
Yes the entire modal contents get unmounted on close. The only thing remaining is the wrapper/portal div
I should note we have other forms inside modals that don't exhibit this issue, although this might be the only form inside an iframe
Hmm I am a bit confused. So you have Stripe div and multiple forms inside the modals, and before closing you unmounted the Stripe div?
Could you provide a publicly accessible URL? We would be happy to take a look
I can give you access but you'll need to sign up for an account. Let me confirm that all works properly on the dev site
in the meantime this pseudo-code for what we have:
<div class="ReactModalPortal">
<div class="Modal">
<Elements>
<PaymentElement />
</Elements>
</div>
</div>
when the modal is closed, everything inside .ReactModalPortal is removed
is there a specific action / function we need to perform on unmount as well?
Um that sounds sufficient. Let me see if you have any similar reports
Um sorry can't find any. I guess it's better if we can look at the specific implementation. Please provide an URL an a credentials (This is same with when we help other devs here)
ok one moment
Here's the URL. Once you log in you will be redirected to the payment methods page:
https://develop.home.petzyo.com.au/manage-plans/payment-methods
Petzyo's customer dashboard offers a convenient and user-friendly interface for pet owners to effortlessly manage and customize their dog food plans. With the Petzyo customer dashboard, you can easily make adjustments to your pet's food preferences, portion sizes, delivery schedule, and more. Take control of your dog's nutrition and ensure they ...
Email: stripe-support@petzyo.com.au
Password: skmk2pZVEwV6iivf5Qzhr6IVPAvytNn1
Okie, and I should register a few payment methods to be able to scroll down first, right?
That would work. You can also set a minimum height for the page but would need to do it after every refresh
thanks for your help. Just letting you know, I'm going to be offline for about an hour now
I don't have the Add Payment Method button on the bottom, to click after I scrolled down
not like your video on 0:02, when you clicked at the button on bottom
ah yes, sorry I just added that locally for testing. I'll put that up for you now
ok button at the bottom added, please refresh the page
Hi! I am unable to reproduce the issue. Do you any 3rd-party plugins in your browser? If yes, please disable and try again.