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
video showing difference of longPress behavior (in regards to the TouchableOpacity callbacks) compared to manual long press:
longpress_y9Ok67Ws.mp4
Strangely it looks like the callbacks are called internally, but do not manifest visually. The react states appear only after the button press is released.
The text was updated successfully, but these errors were encountered:
Did you test using the latest Detox?
Did your test fail and you're not sure why?
What happened?
Detox
longPress
action does not trigger theTouchableOpacity
onPressIn
callback immediately, only in the end of the action.Help us reproduce this issue!
I have created a small reproducible demo here: https://github.com/Iskander508/detox-long-press-test
In what environment did this happen?
Detox version: 20.36.4
React Native version: 0.78.2 (also reproduced with 0.77.1)
Has Fabric (React Native's new rendering system) enabled: yes
Node version: 18.20.5
Device model: iPhone 16 Pro Max
iOS version: 18.2
macOS version: 15.3.2 (24D81)
Xcode version: 16.2
Test-runner: jest
Detox logs
Detox logs
Device logs
device.log
Video
video showing difference of longPress behavior (in regards to the TouchableOpacity callbacks) compared to manual long press:
longpress_y9Ok67Ws.mp4
Strangely it looks like the callbacks are called internally, but do not manifest visually. The react states appear only after the button press is released.
The text was updated successfully, but these errors were encountered: