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

-ms-scroll-chaining similar to overscroll-behavior? #956

Closed
Malvoz opened this issue Dec 14, 2017 · 9 comments
Closed

-ms-scroll-chaining similar to overscroll-behavior? #956

Malvoz opened this issue Dec 14, 2017 · 9 comments
Labels

Comments

@Malvoz
Copy link

Malvoz commented Dec 14, 2017

Consider adding -ms-scroll-chaining as prefix for overscroll-behavior.

Note that the overscroll-behavior property allows for authors to specify on which axis overscroll-behavior applies to (by setting overscroll-behavior-{x/y}, while -ms-scroll-chaining does not allow for that type of control.

@ai
Copy link
Member

ai commented Dec 14, 2017

Do you want to add overscroll data to Can I Use?

@ai
Copy link
Member

ai commented Dec 14, 2017

Also do we have prefixed version for other browsers?

@Malvoz
Copy link
Author

Malvoz commented Dec 15, 2017

There is an overscroll-behavior suggestion on CanIUse. I have not found any other vendor prefixes. Also the new overscroll-behavior will probably have wide UA support. In which case the -ms-prefix is only of benefit in old IE browsers, I think.

@ai
Copy link
Member

ai commented Dec 22, 2017

Does IE 11 and Edge support -ms-scroll-chaining?

@Malvoz
Copy link
Author

Malvoz commented Jan 1, 2018

I haven't found any documentation on IE 11 and Edge, but according to this WCIG discourse comment it seems to work in Edge.

@Malvoz
Copy link
Author

Malvoz commented Jan 13, 2018

@ai

Do you want to add overscroll data to Can I Use?

The recently added data reveals -ms-scroll-chaining is supported in IE 10 + 11 and also in all Edge versions. And because neither IE or Edge supports the new overscroll-behavior I think it might be a good idea to add the ms-scroll-chaining as fallback prefix.

overscroll-behavior-{y/x} may take the values: contain | none | auto.

-ms-scroll-chaining may take values of: chained | none.

To my understanding:

overscroll-behavior-{y/x}: contain | none; would be equivalent~ to -ms-scroll-chaining: none;.

And overscroll-behavior-{y/x}: auto; equivalent of -ms-scroll-chaining: chained;

@ai
Copy link
Member

ai commented Jan 14, 2018

@Malvoz awesome! Can I Use data is really helpful here.

@ai ai removed the caniuse label Feb 23, 2018
@ai
Copy link
Member

ai commented Feb 23, 2018

Done 49eecef.

Thanks for great instructions. They really helped. I will release it when #989 will be fixed.

@ai ai closed this as completed Feb 23, 2018
@ai
Copy link
Member

ai commented Mar 2, 2018

Released in 8.1

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

No branches or pull requests

2 participants