Skip to content

Conversation

@jakubjasinsky
Copy link
Collaborator

Description

This is the first solution for fixing issue with 3DS iframe content being cropped. It stretches iframe for the whole height of the screen minus height of cancel button. Not ideal since when the iframe content is really long it will still be cropped and user will need to scroll inside. Most of the changes are formatting changes (sorry but my IDE formatted that), I will mark the actual changes with comment

CleanShot.2025-01-23.at.16.19.13.mp4

Solution

Notes

Jira Issue

// For mobile devices we want to make iframe stretch for the whole height of screen
// minus the cancel button wrapper height. This is to make sure that content of iframe
// is not cut off
const calculatedIframeHeight =
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual change

@jakubjasinsky jakubjasinsky marked this pull request as ready for review January 27, 2025 11:19
@jakubjasinsky
Copy link
Collaborator Author

Closing it because of this
#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants