-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
android and ios treat touchaction coordinates differently (relative vs absolute) #7486
Comments
@triager please label:Bug, Android |
@sravanmedarapu @imurchie Can you please look into this? |
android and ios should definitely follow the same semantics. |
@jlipps i see this issue on iOS side as well, with the below code it works fine - scroll down(legacy)
With TouchActions it does not work on iOS but works on Android
client sends y:170 and target.touch(takes it as 454) |
UPD: The ping @mykola-mokhnach |
This has been now merged to beta |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The problem
The problem is that the swiping on Android still consumes absolute values instead of relative (like iOS).
However the
moveTo
action consumes relative values on both Android and iOS. So it makes inconvenience on client side.Also there is some weird behaviour.
When user tries to perform the swiping twise (may be more times) per one TouchAction then it fails with error that says that point is out of screen.
Environment
Details
I think the solution is to make the swiping accept relative coordinate values or to stop support it.
Link to Appium logs
Create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!
Code To Reproduce Issue [ Good To Have ]
The client code
server logs
However this code works
server log
The text was updated successfully, but these errors were encountered: