-ms-overflow-style #2429

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

Comments

Projects
None yet
2 participants
@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