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-overflow-style #2429

Open
tbremer opened this issue Apr 13, 2016 · 0 comments
Open

-ms-overflow-style #2429

tbremer opened this issue Apr 13, 2016 · 0 comments

Comments

@tbremer
Copy link

@tbremer tbremer commented Apr 13, 2016

This is, apparently, an IE10+ only property (not sure on the caniuse views on browser specific properties)

https://msdn.microsoft.com/en-us/library/hh771902(v=vs.85).aspx

Syntax
-ms-overflow-style: auto | none | scrollbar | -ms-autohiding-scrollbar

Property values
auto (default value):

  • in IE this cause the scrollbars to be present and take up space in the DOM
  • Windows UI this enforces the same rules has -ms-autohiding-scrollbar

none:

  • element does not display scrollbars or panning indicators
  • elements can still be scrolled via touch panning, keyboard, or mouse wheel. (unlike overflow: hidden;)

scrollbar:

  • element displays a classic scrollbar-type control when its content overflows.

-ms-autohiding-scrollbar:

  • element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions.
  • Auto-hiding scrollbars overlay content, and therefore do not require extra layout space.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants