Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the TextField in the modal gets focus, the modal will shift up with the keyboard. #154

Closed
disonwei opened this issue Mar 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working in triage

Comments

@disonwei
Copy link

disonwei commented Mar 2, 2024

When there is a TextField in wolt_modal_sheet and this TextField gets focus, the keyboard pops up and the entire wolt_modal_sheet will shift up.

When the keyboard is retracted, wolt_modal_sheet will return to its original position.

This causes the entire wolt_modal_sheet page to be reconstructed, which is not what I want.

Is there a way to make the keyboard pop up directly overlay on wolt_modal_sheet without wolt_modal_sheet shifting up and down?

@disonwei disonwei added bug Something isn't working in triage labels Mar 2, 2024
@ulusoyca
Copy link
Collaborator

ulusoyca commented Mar 13, 2024

Fixed this and the PR #163. Introduced resizeToAvoidBottomInset field to the page.

resizeToAvoidBottomInset false resizeToAvoidBottomInset true
resize_false.mp4
resize_true.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

2 participants