Comments (8)
Also, clicking buttons doesn't reset timeout as well.
from react-native-user-inactivity.
I added a call to this.setIsActive() inside the onStartShouldSetPanResponderCapture function, and this seems to work for the button clicks.
from react-native-user-inactivity.
@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
from react-native-user-inactivity.
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
from react-native-user-inactivity.
+1
from react-native-user-inactivity.
Any updates for TextInput typing?
from react-native-user-inactivity.
@Bigdragon13th @alan-lam-decathlon please check the version in the development branch. It's published on npm as [email protected]
from react-native-user-inactivity.
@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 Alert
s or TextInput
s aren't catched by PanResponder's methods, and I couldn't find other alternatives. So I guess that cases aren't supported :(
from react-native-user-inactivity.
Related Issues (20)
- Unable to install the package on RN 39.0.4 HOT 2
- react-native-user-inactivity not working in Android 10 HOT 6
- Keeps timing users out while using the app HOT 2
- Is User considered active while watching a video? HOT 2
- getting incorrect values from redux inside onAction HOT 2
- Timer doesnot get inactive once started? How to do it HOT 1
- Keyboard activity outside this App HOT 1
- Congratulations and thank u! HOT 1
- Improve README.md
- Input from keyboard is not considered as an action HOT 4
- How to stop timer while navigating on next Screen? HOT 1
- Not getting updated values from store inside onAction HOT 2
- ERESOLVE unable to resolve dependency tree HOT 5
- expo demo need update, not working
- Support React 18 HOT 3
- Support changing `onAction` prop HOT 2
- Sometimes does not detect user interaction on android devices HOT 3
- node module download error HOT 1
- onAction not called when app is in background (Android) HOT 1
- isAction prop does not work properly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-user-inactivity.