#alexpetzyo_unexpected

1 messages ยท Page 1 of 1 (latest)

proven hullBOT
#

๐Ÿ‘‹ 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.

lyric swift
slim agate
#

Hi, will be here shortly

#

Hmm have you unmounted the div in the modal when clicking close?

lyric swift
#

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

slim agate
#

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

lyric swift
#

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?

slim agate
#

Um that sounds sufficient. Let me see if you have any similar reports

slim agate
#

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)

lyric swift
#

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

slim agate
#

Okie, and I should register a few payment methods to be able to scroll down first, right?

lyric swift
#

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

slim agate
#

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

proven hullBOT
lyric swift
#

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

abstract jetty
#

Hi! I am unable to reproduce the issue. Do you any 3rd-party plugins in your browser? If yes, please disable and try again.

lyric swift
#

Hi Sam - thanks, this was a great idea. It looks like it's the LastPass chrome extension ๐Ÿ™„

#

appreciate everyone's help with this one