#roma_75814
1 messages · Page 1 of 1 (latest)
<div style="position: fixed; bottom: 0">
<iframe>
..Payment Element iFrame...
</iframe>
</div>
After scroll page, <select> element has wrong position
Hi, I am not sure whether our Payment work well with fixed positions. It could have expanding dive, lines based on the way it's configured with Apprearance API. I would recommend to not fix the parent div and workaround
I want my widget to be fixed at the bottom of the page
And i add position: fixed for my custom wrapper-element
What happen, or what issue you are trying to avoid, if you don't set position fixed?
Yes, but if you don't fix the position, what happen?
Oh or do you want to fix the postion so customer doesn't need to scroll and still see it?
yes
Oh or do you want to fix the postion so customer doesn't need to scroll and still see it?
right
I am afraid that wouldn't work well with PaymentElement, sorry. It's a dynamic component rather than a fixed component
The demo list could be way shorter than your page
what is the issue exactly? Don't see unusual thing on your screenshot
On my second screenshot dropdown <select> has wrong position
Big gap
When i scroll <select> jump
This happens if I make the form itself fixed
But on the demo site it works ok (with position: fixed too)
Umm that a weird bug but as mentioned the PaymentElement could doesn't work very well with position. Not sure why it "works" on the demo. In the demo it doesn't have such a large list, right?
I think it would break too with a large selection list
Um sorry, could you write into Support and include a publicly accessible URL which reproduces?
Send support email address please