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
fix(android): correct ScrollView.contentOffset units #12615
Conversation
Tests:
|
ac87216
to
9e4ad84
Compare
9e4ad84
to
ba3b70a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: Pass
@@ -713,7 +734,7 @@ public void propertyChanged(String key, Object oldValue, Object newValue, KrollP | |||
|
|||
if (key.equals(TiC.PROPERTY_CONTENT_OFFSET)) { | |||
setContentOffset(newValue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, there is no need to call it here. We will call setContentOffset(int x, int y)
later from onScrollChanged
which is triggered by the scrollTo
on the next line.
FR Passed. |
ScrollView.contentOffset
unitsTEST CASE
100dp
into redJIRA Ticket
#12608