-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[ScrollView] Handle dissmissKeyboardMode="on-drag" for Android #26422
Conversation
The fix seems fine but the need for it seems to come from another issue. Do you know why Looks like it gets called in
|
I was trying to figure out why I'm not sure whether |
I am facing the same issue and looking forward to this merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change makes sense on its own, even if it doesn't fix the underlying cause of the issue so I'm fine with it.
We should probably try to investigate why isTouching isn't working later as it might cause other bugs.
Nice patch! Works and fixes #23364 indeed on Andoird. On RN 0.60.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sahrens is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Thanks for the fix, and thanks for the review @janicduplessis - if you're ok with it, I'm ok with it :) |
Can we get this merged please? I reproduced issue on android in my app, which this PR fixes. I've been monkey patching (patch-package) RN for months now to get this fix. |
This is still an issue, can we get this merged? |
updated the fix in #31943 |
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 7 days with no activity. |
Summary
dismissKeyboardMode="on-drag"
prop for Android'sScrollView
does not work as expected according to the docs. This problem has been verified in #23364 and from personal tests.Changelog
[Android] [Fixed] - Handle dissmissKeyboardMode="on-drag" for Android
Test Plan
with fix & without fix