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

feat: add prop keyboardShouldPersistTaps for Menu #3420

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

brunohkbx
Copy link
Collaborator

Summary

There's a Dropdown component built using TextInput + Menu in a project that I work and the only way to make the inner ScrollView with the MenuItem components able to capture taps was to patch keyboardShouldPersistTaps with the value "always" or "handled"

Before(Notice how a double tap is needed) After
before after

Test plan

N/A - just exposing a new prop for the Menu component

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@callstack-bot
Copy link

Hey @brunohkbx, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak merged commit b724970 into main Oct 19, 2022
@lukewalczak lukewalczak deleted the feat/add-prop-keyboardShouldPersistTaps branch October 19, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants