-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View is not scrollable at given start point #3918
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
@piscespieces I ran into something similar and I needed to pass // Instead of this
await element(by.id('rewards-scrollview')).scroll(100, 'down')
// Try this
await element(by.id('rewards-scrollview')).scroll(100, 'down', NaN, 0.8)
|
await element(by.type("RCTCustomScrollView")).scroll(100, 'down'); - When I use this it throws Unable to scroll down in "<RCTCustomScrollView: 0x7fa7533f6600>" error |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
The issue has been closed for inactivity. |
same issue |
Description
Not sure how to interpret this error and to overcome it
I have a
ScrollView
and I'm trying to scroll all the way down to the bottomawait element(by.id('rewards-scrollview')).scroll(100, 'down');
but not sure how to interpret the error to tweak my approach to scrolling.
EDIT:
Also tried
await element(by.id('rewards-scrollview')).scrollTo('top');
await element(by.id('rewards-scrollview')).swipe('up');
and did work, but changed the direction to
'bottom'
—anddown
for the swipe— and it keeps breaking with the error above. That does not make much sense: I'm able to scroll/swipe up, but not in other direction (?)Your environment
Detox version: 20.1.2
React Native version: 0.68.1
Node version: 16
Device model: iphone 14
OS: macos monterey
Test-runner (select one): jest
The text was updated successfully, but these errors were encountered: