#daniyal_11692
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- daniyal_11692, 2 days ago, 4 messages
- daniyal_11692, 2 days ago, 7 messages
- daniyal_11692, 3 days ago, 3 messages
- daniyal_11692, 3 days ago, 5 messages
- daniyal_11692, 3 days ago, 31 messages
- daniyal_11692, 6 days ago, 13 messages
Hello! The Payment Element is not designed to have a restricted height. You should allow it to resize to any height it wants.
You can constrain the width though.
if i remove the height property it looks like this
i just want to end this vertical scroll
on desktop it is working fine
You need to adjust your iframe so it's tall enough to show the entire Payment Element.
Which will be tricky, because the Payment Element varies in height as you use it.
i'm already setting the height for iframe
What are you setting it to?
418px
i've also tried iframe.contentWindow.document.body.scrollHeight
Let's back up a bit. Does the Payment Element absolutely need to be inside your iframe?
yes, bcz i'm using shadow dom and stipe has not yet supported shadow dom
Do you have a link to a test case where I can reproduce the issue and debug it?
sorry, i've this only on my local
I'm not sure how much help I can provide with only a description of the issue. I would need to see and debug it on my end.
ok thanks for your time.
If you can produce a test case online somewhere we'd be happy to help further!
got it! thanks!