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

Allow for rubber band overscrolling on iOS #616

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

toddtarsi
Copy link
Contributor

@toddtarsi toddtarsi commented Mar 16, 2017

Untested resolution for follow up by @maxsalven on #566

Needs testing, and if no one is able to, I may be able to this weekend.

Untested Resolution for follow up by @maxsalven on bvaughn#566
@bvaughn
Copy link
Owner

bvaughn commented Mar 16, 2017

Thanks a ton @toddtarsi! I'm going to tweak it slightly to also cover scrollLeft but I think this looks fine.

@bvaughn bvaughn merged commit 8857680 into bvaughn:master Mar 16, 2017
@toddtarsi
Copy link
Contributor Author

:D Glad I can help. Thanks again!

@bvaughn
Copy link
Owner

bvaughn commented Mar 27, 2017

9.4.0 was just released with this feature. Thank you for your contribution! I listed you in the 9.4.0 release notes.

@bvaughn
Copy link
Owner

bvaughn commented Mar 31, 2017

Unfortunately this seems to have caused a fairly serious regression that I didn't notice until earlier tonight. You can see it here, for example. Scroll to the bottom of the Grid and then scroll right. Grid won't update when you scroll to the right- because the eventScrollTop is slightly greater than scrollTop. The case I'm seeing is:

this._scrollingContainer.scrollHeight - this._scrollingContainer.clientHeight // 1367
totalRowsHeight - height + scrollbarSize // 1365

For now, I'm going to revert this change and we can fix it forward if we find a way around this issue.

@bvaughn
Copy link
Owner

bvaughn commented Mar 31, 2017

(I realize that my "repro" steps may no longer work once I've released the fix, but you could repro them locally by running this branch locally)

@toddtarsi
Copy link
Contributor Author

toddtarsi commented Mar 31, 2017 via email

@bvaughn
Copy link
Owner

bvaughn commented Mar 31, 2017 via email

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.

None yet

2 participants