Giter VIP home page Giter VIP logo

Comments (8)

Bigdragon13th avatar Bigdragon13th commented on September 21, 2024 1

Also, clicking buttons doesn't reset timeout as well.

from react-native-user-inactivity.

alan-lam-decathlon avatar alan-lam-decathlon commented on September 21, 2024 1

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.

ManigandanRaamanathan avatar ManigandanRaamanathan commented on September 21, 2024 1

@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.

jkomyno avatar jkomyno commented on September 21, 2024

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.

alan-lam-decathlon avatar alan-lam-decathlon commented on September 21, 2024

+1

from react-native-user-inactivity.

BlagojeV93 avatar BlagojeV93 commented on September 21, 2024

Any updates for TextInput typing?

from react-native-user-inactivity.

jkomyno avatar jkomyno commented on September 21, 2024

@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.

jkomyno avatar jkomyno commented on September 21, 2024

@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 Alerts or TextInputs 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.