From c49cf7905e6bfa4d0d89fe728cb8ddee636bb6de Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Sun, 24 Jan 2016 04:25:28 +0900 Subject: [PATCH] Re-apply missing IE10+ and Edge fix for touch/trackpad --- src/css/mixins.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/css/mixins.scss b/src/css/mixins.scss index a371d17..ae5a309 100644 --- a/src/css/mixins.scss +++ b/src/css/mixins.scss @@ -43,7 +43,18 @@ // Layout and theme mixin @mixin ps-container($theme) { -ms-touch-action: none; + touch-action: none; overflow: hidden !important; + -ms-overflow-style: none; + + // Edge + @supports (-ms-overflow-style: none) { + overflow: auto !important; + } + // IE10+ + @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + overflow: auto !important; + } &.ps-active-x > .ps-scrollbar-x-rail, &.ps-active-y > .ps-scrollbar-y-rail {