Scroll behavior issue in KeyboardAwareScrollView after navigating between two modals #754
Labels
🤖 android
Android specific
🐛 bug
Something isn't working
KeyboardAwareScrollView 📜
Anything related to KeyboardAwareScrollView component
question
You wanted to clarify something about the usage of the library or have a question about something
repro provided
Issue contains reproduction repository/code
Describe the bug
I am using two modals (Modal1 and Modal2), each containing a ScrollView filled with inputs. These inputs are wrapped inside a KeyboardAwareScrollView to handle scrolling when the keyboard opens.
Issue: the scrolling behavior is no longer correct. The header of Modal1 is also affected by the scroll.
The issue only occurs when navigating between two modals, both of which use a KeyboardAwareScrollView.
I’ve confirmed that each modal works fine independently, but returning to the first modal after interacting with the second one seems to "break" the scroll behavior.
Repo for reproducing
repo link
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Want to keep the same behavior as in the beginning
Screenshots
Record_2025-01-13-17-55-21.mp4
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: