You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made swipe home screen with this nice library. thanks!
While making swipe home screen, I encounter some problems that TouchableOpacity (which is child of Pan gesture) is active simultaneously with PanGesture.
It solved by using import TouchableOpacity from gesture handler.
Using TouchableOpacity from GH.
GH2.mp4
Using TouchableOpacity from RN.
RN2.mp4
In this Video, Main Screen has two section - Pink and Skyblue, and orange Touchable Box navigate to webView(google.com).
When Using TouchableOpacity from GH, touch event is canceled when PanGesture Handler is active, but TouchableOpacity from RN is not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I made swipe home screen with this nice library. thanks!
While making swipe home screen, I encounter some problems that TouchableOpacity (which is child of Pan gesture) is active simultaneously with PanGesture.
It solved by using import TouchableOpacity from gesture handler.
Using TouchableOpacity from GH.
GH2.mp4
Using TouchableOpacity from RN.
RN2.mp4
In this Video, Main Screen has two section - Pink and Skyblue, and orange Touchable Box navigate to webView(google.com).
When Using TouchableOpacity from GH, touch event is canceled when PanGesture Handler is active, but TouchableOpacity from RN is not.
It might be easy, but I hope it helps someone. 😄
Beta Was this translation helpful? Give feedback.
All reactions