react-native icon indicating copy to clipboard operation
react-native copied to clipboard

[Navigator] InteractionManager: interaction handle not cleared within 2000 ms.

Open magicismight opened this issue 11 years ago • 5 comments

In a Navigator, when I tried to drag back the previous view, and keep the mouse hold still for at least 2s, console will give a warning:

InteractionManager: interaction handle not cleared within 2000 ms. Error: InteractionManager: interaction handle not cleared within 2000 ms. at Object.InteractionManager.createInteractionHandle (http://localhost:8081/index.ios.bundle:14720:19) at Object.ReactNativeGlobalInteractionHandler.onChange (http://localhost:8081/index.ios.bundle:14615:46) at Object.ResponderEventPlugin.extractEvents (http://localhost:8081/index.ios.bundle:17989:53) at Object.EventPluginHub.extractEvents (http://localhost:8081/index.ios.bundle:12454:46) at Object.ReactEventEmitterMixin.handleTopLevel (http://localhost:8081/index.ios.bundle:20187:33) at Object.merge._receiveRootNodeIDEvent (http://localhost:8081/index.ios.bundle:20056:29) at Object.merge.receiveTouches (http://localhost:8081/index.ios.bundle:20140:31) at jsCall (http://localhost:8081/index.ios.bundle:7461:29) at MessageQueueMixin._callFunction (http://localhost:8081/index.ios.bundle:7724:15) at http://localhost:8081/index.ios.bundle:7751:32

magicismight avatar Jun 08 '15 09:06 magicismight

I'm also seeing this on ListView. On a ListView if you press down and move up and down, but don't release the press for more than 2 seconds then this error is fired:

InteractionManager: interaction handle not cleared within 2000 ms.
Error: InteractionManager: interaction handle not cleared within 2000 ms.
    at Object.InteractionManager.createInteractionHandle (http://localhost:8081/index.ios.bundle:14430:11)
    at Object.ReactNativeGlobalInteractionHandler.onChange (http://localhost:8081/index.ios.bundle:14326:40)
    at Object.ResponderEventPlugin.extractEvents (http://localhost:8081/index.ios.bundle:17686:47)
    at Object.EventPluginHub.extractEvents (http://localhost:8081/index.ios.bundle:12188:36)
    at Object.ReactEventEmitterMixin.handleTopLevel (http://localhost:8081/index.ios.bundle:19867:27)
    at Object.merge._receiveRootNodeIDEvent (http://localhost:8081/index.ios.bundle:19737:25)
    at Object.merge.receiveTouches (http://localhost:8081/index.ios.bundle:19821:25)
    at jsCall (http://localhost:8081/index.ios.bundle:7280:27)
    at MessageQueueMixin._callFunction (http://localhost:8081/index.ios.bundle:7546:9)
    at http://localhost:8081/index.ios.bundle:7575:20

The error is coming from InteractionManager.js. Just submitting it here so it can be tracked and discussed upon.

paramaggarwal avatar Jun 25 '15 08:06 paramaggarwal

I can consistently replicate this by touching any touchable* for a longer time.

eg: Keep the list view row touched for some time before releasing. You would see the warning.

chirag04 avatar Jun 27 '15 02:06 chirag04

^ I'm getting the same warning here.

ardalann avatar Jun 28 '15 06:06 ardalann

Getting the same here but not using ListView nor Navigator ... And also this happen whenever I touch the screen (no matter for how long I touch it)

ilansas avatar Jul 08 '15 14:07 ilansas

This warning has been removed from master.

ide avatar Jul 08 '15 17:07 ide