Skip to content

-ms-overflow-style #2429

@tbremer

Description

@tbremer

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions