Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

MS Edge vertical & horizontal overscroll #70

Open
julkue opened this issue Dec 1, 2015 · 9 comments
Open

MS Edge vertical & horizontal overscroll #70

julkue opened this issue Dec 1, 2015 · 9 comments

Comments

@julkue
Copy link
Contributor

julkue commented Dec 1, 2015

Issue description

We are all familiar with the default iOS "overscroll" behavior. You can overscroll an element, like in this example:

2_touch_adds_rubberband_effect

However, using jquery.scrollbar on a MS Edge tablet will cause vertical and horizontal overscroll. Without it, neither vertical nor horizontal appears.

This is especially a problem if you have touch actions inside the scrollbar-container. They will not work, because MS Edge will think you want to pan the scrollbar container.

Steps to reproduce

You can reproduce this bug on the plugins homepage.
Just pan the scrollbar container vertically or horizontally:

jquery-scrollbar-ms-edge-issue

Example in my application:
screenshot

Environment

Windows: 10
MS Edge: 20.10240.16384.0
jquery.scrollbar: 0.2.10

@julkue
Copy link
Contributor Author

julkue commented Dec 1, 2015

Solution

Related to the documentation the issue can be solved by adding

-ms-touch-action:pan-y;
touch-action:pan-y;

to the scrollbar element. This will permit touch-driven panning (scrolling) on the vertical axis and therefore the overscroll behaviour.
However, this only works if you don't have a horizontal scrollbar. Also swipe actions on the scrollbar's container element will be repressed.

@gromo You should add this to the documentation or use the native scrollbar in MS Edge.

@gromo
Copy link
Owner

gromo commented Dec 1, 2015

You're telling "Unfortunately I need to report a bug" like you're one of MS Edge developers :)

I have to see this bug with my own eyes first to tell my opinion and what can be done. Unfortunately I don't have tablet with Windows 10, but I will try to find it and test scrollbar there.

@julkue
Copy link
Contributor Author

julkue commented Dec 8, 2015

Is there anything new?

@gromo
Copy link
Owner

gromo commented Dec 8, 2015

Not yet - I have tried with Windows 8.1 on tablet in IE, but IE <> Edge. Can you send me screenshot with bug? I have tried on desktop version of MS Edge - but it works correctly.

@julkue
Copy link
Contributor Author

julkue commented Feb 9, 2016

@gromo Anything new on that? I'm getting a new Surface tablet in the next days so hopefully I will be able to provide a screenshot.

@gromo
Copy link
Owner

gromo commented Feb 17, 2016

Unfortunately, nothing new on this issue - I still don't have tablet with Windows 10.

@julkue
Copy link
Contributor Author

julkue commented Mar 9, 2016

@gromo I've updated my question and included screenshots. How can I speed up the fix?

@julkue
Copy link
Contributor Author

julkue commented Apr 19, 2016

@gromo I would really appreciate it if you would answer me.
It's important for me, because as I said

However, this only works if you don't have a horizontal scrollbar. Also swipe actions on the scrollbar's container element will be repressed.

And I need a solution that will not repress swipe actions on the container.

@gromo
Copy link
Owner

gromo commented Apr 19, 2016

I am going to look at it as soon as I will have tablet with Windows 10 & MS Edge. Sorry for being late, but I still don't have :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants