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

Input from keyboard is not considered as an action #52

Open
AndreyGalkin opened this issue Nov 8, 2021 · 4 comments
Open

Input from keyboard is not considered as an action #52

AndreyGalkin opened this issue Nov 8, 2021 · 4 comments

Comments

@AndreyGalkin
Copy link

No description provided.

@jkomyno
Copy link
Owner

jkomyno commented Nov 8, 2021

Hi, can you please give me more details?
Are you on Android or iOS? Which version?
Are you using a physical device or an emulated one?
Do you have any reproducible code you can share?

@AndreyGalkin
Copy link
Author

AndreyGalkin commented Nov 9, 2021

Hi
Tested on iOS 15, both simulator and device.
Actually, it's impossible to share the code.
But the main problem is when you do the input in a text field via the system keyboard - onAction is fired, right after the previous activity timeout.

@AlbertoLopSie
Copy link

I can confirm this is happening on iOS 14.3 Simulator

@kirillzyusko
Copy link

You can use react-native-keyboard-controller and its useFocusedInputHandler hook with onChangeText handler to intercept any keyboard touches - and from there you can reset your timer 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants