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
I see another issue too. When calling convertPointToView() where the destination view is the ScrollView, then the contentOffset should be applied to the return point as well. This is an issue on both Android and iOS. Supporting this would make it easier to scroll to a child view within a scroll view.
Ti.UI.ScrollView
on Android returns value forcontentOffset
in pixels and dp.To Reproduce
Sample app
app.js
, build the app, observe console output+100
button five timescontentOffset.x: 500
in the output (value indp
)contentOffset.x: <VALUE>
in the output increased (value inpixels
)P.S. Default app template has
<property name="ti.ui.defaultunit" type="string">dp</property>
in it.Expected behavior
contentOffset
property ofTi.UI.ScrollView
must contain values in consistent unitsEnvironment
Titanium SDK version: 9.3.2.GA, 10.1.0 (
master
)The text was updated successfully, but these errors were encountered: