You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the standard modal implementation for an embed code for a payment form. That embed code is essentially a bit of JS that loads an iFrame.
Even though I have the modal with the embed code loaded on the same page, only when I click to open the modal does the embed code load. This causes a ~1 second delay and the modal jumps. Here's a quick video to show what I mean: https://dsh.re/2b0e9
I checked with the support team of payment provider and they said:
The embed code is actually loading on page load, but the modal library copies the element into the modal on each "click" so it has to reload the iframe each time you open the modal.
Is there a way around this? I've also tried implementing it via the ajax method, but it has the same result.
The text was updated successfully, but these errors were encountered:
Zenoo
linked a pull request
Jul 1, 2021
that will
close
this issue
I'm using the standard modal implementation for an embed code for a payment form. That embed code is essentially a bit of JS that loads an iFrame.
Even though I have the modal with the embed code loaded on the same page, only when I click to open the modal does the embed code load. This causes a ~1 second delay and the modal jumps. Here's a quick video to show what I mean: https://dsh.re/2b0e9
I checked with the support team of payment provider and they said:
Is there a way around this? I've also tried implementing it via the ajax method, but it has the same result.
The text was updated successfully, but these errors were encountered: