yes
Tell us about the problem
The getX() method of the touch event on a scrollview yields different results in Android vs iOS if the scrollview is scrolled.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
See playground app
Please tell us how to recreate the issue in as much detail as possible.
https://play.nativescript.org/?template=play-ng&id=74EbPd
- scroll the scrollview to have the number 3 in the center of the view
- tap on the 3
- a touch handler will register the output of
event.getX() on a component property x
example:
in iOS the result is 602.5
in Android the result is 173.05
the difference between the two is exactly equal to scrollView.horizontalOffset.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
yes
Tell us about the problem
The getX() method of the touch event on a scrollview yields different results in Android vs iOS if the scrollview is scrolled.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
See playground app
Please tell us how to recreate the issue in as much detail as possible.
https://play.nativescript.org/?template=play-ng&id=74EbPd
event.getX()on a component propertyxexample:
in iOS the result is 602.5
in Android the result is 173.05
the difference between the two is exactly equal to
scrollView.horizontalOffset.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.