Skip to content
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

Adding scrolloffset property #169

Closed
wants to merge 4 commits into from
Closed

Adding scrolloffset property #169

wants to merge 4 commits into from

Conversation

malaniz
Copy link

@malaniz malaniz commented Nov 25, 2016

Fix for this issue
#143

@fisshy
Copy link
Owner

fisshy commented Nov 26, 2016

Thanks for the PR, Why not just increase the offset?

@@ -141,7 +141,7 @@ var Helpers = {



var offsetY = y - this.props.offset;
var offsetY = y - this.props.offset + this.props.scrolloffset;
Copy link

Choose a reason for hiding this comment

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

what about defaultProps?

@fisshy
Copy link
Owner

fisshy commented Dec 21, 2016

Could you write a test for this? And please make "ignoreCancelEvents" optional otherwise it will be a major change for everyone if you have to provide "false" for it.

@tb
Copy link

tb commented Jun 16, 2017

@fisshy I had similar issue, made PR with just scrollOffset, see #225

@malaniz malaniz closed this Feb 20, 2019
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.

4 participants