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
Put a switch in a scroll view, make sure it is low enough so scroll is required.
Then use the code snippet above to reach it and notice it stops scrolling too soon.
In what environment did this happen?
Detox version: 20.5.0
React Native version: 0.71.4
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 16.13.0
Device model: mac m1 monterey / pixel api 28 emulator
Android version: 9
Test-runner (select one): jest
Detox logs
Detox logs
paste logs here!
Device logs
Device logs
paste your device.log here!
More data, please!
No response
The text was updated successfully, but these errors were encountered:
arcln
changed the title
Switch component is reported as visible even when hidden by the navigation bar
Switch component is reported as visible when hidden by the navigation bar
Mar 15, 2023
Hi @arcln, it's hard to figure what exactly was the cause for this issue based only on the issue description.
Is it possible that while the scrolling took effect, the navigation bar was hidden (and appeared after the scrolling was ended)?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
What happened?
I use the following code to scroll to a switch component and tap it :
However on Android the tap action fails :
The device I test on is a Pixel API 28 emulator.
What was the expected behaviour?
I expected the switch not to be reported as visible before it is actually tappable.
For now my workaround is to ask detox to scroll further than actually needed.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Put a switch in a scroll view, make sure it is low enough so scroll is required.
Then use the code snippet above to reach it and notice it stops scrolling too soon.
In what environment did this happen?
Detox version: 20.5.0
React Native version: 0.71.4
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 16.13.0
Device model: mac m1 monterey / pixel api 28 emulator
Android version: 9
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: