Skip to content

Conversation

@felipecsl
Copy link

MotionEvent.offsetLocation() call was not taking into account the ScrollView paddingTop(), which caused events to not be triggered correctly on the sticky view.

This PR also updates project dependencies and structure, which were wildly outdated/nonstandard.
Are you able to review/merge and publish an updated version for this library with this fix?

Thanks!

ev.offsetLocation(0,
-1 * ((getScrollY() + stickyViewTopOffset) - getPaddingTop() -
getTopForViewRelativeOnlyChild(currentlyStickingView)));
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant