-
Notifications
You must be signed in to change notification settings - Fork 57
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
Timeout not reset when user typing on keyboard #2
Comments
Also, clicking buttons doesn't reset timeout as well. |
Thanks! It would be great if you could link a Github repository with a minimal reproducible example with the above issue, to speed up testing and bug fixing |
+1 |
I added a call to this.setIsActive() inside the onStartShouldSetPanResponderCapture function, and this seems to work for the button clicks. |
Any updates for TextInput typing? |
@Bigdragon13th @alan-lam-decathlon please check the version in the development branch. It's published on npm as |
@Bigdragon13th I just had the opportunity to verify that the approach used by this library only works with pure JS Views/Components. Unfortunately, React Native doesn't seem to offer ways of knowing whenever a native component has been touched or not. For instance, native |
@jkomyno could you please provide us a reference which we can manually call it whenever the alert or keyboard component is used by us? it will be helpful if you provide code snippet for creating our own reference to it. Thanks |
In my app, there's a textinput inside UserInactivity element. And when user typing in textinput, UserInactivity doesn't reset the timeout and therefore trigger onInactivity even if the app is not technically inactive.
The text was updated successfully, but these errors were encountered: