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

InputAccessoryView only rarely responds to touch #20255

Closed
3 tasks done
calebnelson opened this issue Jul 17, 2018 · 5 comments
Closed
3 tasks done

InputAccessoryView only rarely responds to touch #20255

calebnelson opened this issue Jul 17, 2018 · 5 comments
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@calebnelson
Copy link

calebnelson commented Jul 17, 2018

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 458.40 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.9.4 - /usr/local/bin/node
Yarn: 1.3.2 - /usr/local/bin/yarn
npm: 5.8.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs:
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: ^16.3.2 => 16.3.2
react-native: 0.56 => 0.56.0
npmGlobalPackages:
create-react-native-app: 0.0.6
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

Description

I have a simple InputAccessoryView of TouchableOpacities to navigate a gradebook table of TextInputs as pictured here. However, this InputAccessoryView does not respond to touch very well at all. Most of the time, the keyboard closes immediately when one of the opacities is touched, sometimes it does nothing, and only very rarely is the onPress callback called.

Reproducible Demo

Unfortunately I can't share my code as it's proprietary, but I have around 160 of these TextInputs with accessory views in a table, so perhaps the problem lies in the number of views I'm creating

@hramos
Copy link
Contributor

hramos commented Jul 17, 2018

Can you please provide a minimal reproduction? No need to share your proprietary code, as you should be able to reproduce the issue on a brand new project.

@marekpiechut
Copy link

@calebnelson Are elements inside accessory view enclosed in FlatList or ScrollView? If so try to set keyboardShouldPersistTaps="always" on it. I had similar issues without it.

@nicolasdanelon
Copy link

@calebnelson any news about this?

@stale
Copy link

stale bot commented Aug 4, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 4, 2019
@stale
Copy link

stale bot commented Aug 11, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 11, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants