Cannot read property 'pageY' of undefined
JeremyBradshaw7 opened this issue · 3 comments
JeremyBradshaw7 commented
Sometimes this unhandled exception occurs on tapping on a sortable item, if I have moveOnPressIn
set:
Unhandled JS Exception: TypeError: Cannot read property 'pageY' of undefined
This error is located at:
in SortRow (at index.js:418)
in RCTView (at View.js:60)
in View (at index.js:487)
in SortableListView (created by EditFrame)
in RCTView (at View.js:60)
in View (created by EditFrame)
in RCTView (at View.js:60)
in View (created by EditFrame)
in RCTView (at View.js:60)
in View (created by EditFrame)
in RCTView (at View.js:60)
in View (created by EditFrame)
in EditFrame (created by ModuleEdit)
in ModuleEdit (created by Connect(ModuleEdit))
in Connect(ModuleEdit) (at SceneView.js:17)
in SceneView (at CardStack.js:466)
in RCTView (at View.js:60)
in View (at createAnimatedComponent.js:154)
in AnimatedComponent (at Card.js:12)
in Card (at PointerEventsContainer.js:39)
in Container (at CardStack.js:498)
in RCTView (at View.js:60)
in View (at CardStack.js:414)
in RCTView (at View.js:60)
in View (at CardStack.js:413)
in CardStack (at CardStackTransitioner.js:67)
in RCTView (at View.js:60)
in View (at Transitioner.js:142)
in Transitioner (at CardStackTransitioner.js:19)
in CardStackTransitioner (at StackNavigator.js:41)
in Unknown (at createNavigator.js:13)
in Navigator (at createNavigationContainer.js:226)
in NavigationContainer (at SceneView.js:17)
in SceneView (at DrawerScreen.js:21)
in DrawerScreen (at withCachedChildNavigation.js:69)
in withCachedChildNavigation(DrawerScreen) (at DrawerNavigator.js:71)
in Unknown (at createNavigator.js:13)
in Navigator (at DrawerView.js:178)
in RCTView (at View.js:60)
in View (at createAnimatedComponent.js:154)
in AnimatedComponent (created by DrawerLayout)
in RCTView (at View.js:60)
in View (created by DrawerLayout)
in DrawerLayout (at DrawerView.js:158)
in DrawerView (at DrawerNavigator.js:88)
in Unknown (at createNavigator.js:13)
in Navigator (at createNavigationContainer.js:226)
in NavigationContainer (created by PrimaryNav)
in PrimaryNav (created by Connect(PrimaryNav))
in Connect(PrimaryNav) (created by App)
in RCTView (at View.js:60)
in View (at Root.js:13)
in Root (at connectStyle.js:384)
in Styled(Root) (created by App)
in PersistGate (created by App)
in Provider (created by App)
in App (at renderApplication.js:33)
in RCTView (at View.js:60)
in View (at AppContainer.js:102)
in RCTView (at View.js:60)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:32)
lytieunuong1 commented
I have the same issue ;( anybody can help us please T_T
lytieunuong1 commented
I tried to change the code in index.js
file of this library and it works perfectly
componentDidMount() {
// InteractionManager.runAfterInteractions(() => {
this.timer = setTimeout(() => this && this.measureWrapper(), 0)
// })
}
kylanhurt commented
Could we get the PR for this merged, please?