Skip to content

Fix for latest iPad scrolling instead of dragging vertically. #183

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

Closed
wants to merge 2 commits into from

Conversation

JaneCoder
Copy link

This is a fix for iPad, which has a flaw with vertical dragging related to the scroll bar. Other touch devices, even iPhone worked fine without the fix. This version uses the event helpers to add and remove the events.

@JaneCoder
Copy link
Author

JaneCoder commented Aug 9, 2016

Unfortunately this version is failing for vertical drag on Lenovo touch screens in Firefox now. We will do some more testing and try to determine the cause.

@STRML
Copy link
Collaborator

STRML commented Aug 9, 2016

I appreciate your tenacity! Browsers implement this spec very badly.

@JaneCoder
Copy link
Author

JaneCoder commented Aug 29, 2016

This is looking good. We found that the tester had issues outside of our app with touch on chrome and firefox. Touch had to be re-enabled on her device. It was not related to the update to the ipad fix.

@STRML
Copy link
Collaborator

STRML commented Aug 29, 2016

I'm going to review this when I get home - have an iPad laying around - I'll update when I am sure this is working. Thanks!

@JaneCoder
Copy link
Author

Thank you for your wonderful work!

On Mon, Aug 29, 2016 at 1:03 PM, Samuel Reed [email protected]
wrote:

I'm going to review this when I get home - have an iPad laying around -
I'll update when I am sure this is working. Thanks!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#183 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4yT59jvMosCbqQDPUveti46je6r83pks5qkxDugaJpZM4JYYYW
.

@JaneCoder
Copy link
Author

Hello @STRML. Have you had a chance to test with your ipad? Please let me know if there is anything different you'd like me to do.

@STRML STRML force-pushed the master branch 2 times, most recently from ad3e1fc to 13a2e02 Compare October 25, 2016 23:16
@nisjunk
Copy link

nisjunk commented Nov 6, 2016

On iPadPro, all demos fail because the whole page also scrolls with the element. I think it is a show stopper issue.

@JaneCoder
Copy link
Author

JaneCoder commented Nov 10, 2016

nisjunk, we have that issue with the original version, but not with this patched version which stops scrolling on drag.

PS we are using a version of this pull request from our bitbucket repo, and will continue with our own patched version until this is accepted or someone else puts in a fix the owners like.

@STRML STRML closed this in 8a51de9 Nov 21, 2016
@STRML
Copy link
Collaborator

STRML commented Nov 21, 2016

Hi @JaneCoder,

Very sorry for how long it took to get to this.

I reviewed your fix and found that it fixed most use cases, but caused issues with bounded elements. After spending some time reviewing exactly how iOS handles touch events, I was able to very simply fix this in 8a51de9.

Thanks for reporting this!

@STRML
Copy link
Collaborator

STRML commented Nov 21, 2016

This is published and in v2.2.3.

@JaneCoder
Copy link
Author

Sweet! Thanks so very much!

On Mon, Nov 21, 2016 at 2:37 PM, Samuel Reed [email protected]
wrote:

This is published and in v2.2.3.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#183 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4yT8Pz3mTEWLq037sNpdH6vpZi0-Pxks5rAfMRgaJpZM4JYYYW
.

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.

3 participants