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
{{ message }}
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
I get a different value in iOS & Android when i bind touch event on an scrollable view.
And i found difference in iOS and Android source code about touch coordinate calculation:
In iOS Source Code Link:
In my opinion, weexInstance.rootView will always get a weex container not a touch & scroll view. so i often get a equal value of screenX. Why not use touch.view
Description
I get a different value in iOS & Android when i bind touch event on an scrollable view.
And i found difference in iOS and Android source code about touch coordinate calculation:
In iOS Source Code Link:
In my opinion, weexInstance.rootView will always get a weex container not a touch & scroll view. so i often get a equal value of screenX. Why not use
touch.view
In Android Source Code Link:
In Android, pageX = eventX + scrollX, which is relative to the scroll view.
Environment
Weex Playground 0.18.0
Broken Example
Link Address: http://dotwe.org/vue/a1cb898b0cdfb5044534b1c849e19e66
See difference in iOS & Android.
Steps to Reproduce
same as above
Thanks
The text was updated successfully, but these errors were encountered: