Skip to content

Commit

Permalink
0.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Mar 24, 2022
1 parent 37ef155 commit 12b96cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "perfect-scrollbar",
"version": "0.6.9",
"version": "0.6.10",
"description": "Minimalistic but perfect custom scrollbar plugin",
"author": "Hyunje Alex Jun <[email protected]>",
"contributors": [
Expand Down
11 changes: 11 additions & 0 deletions src/css/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 12b96cd

Please sign in to comment.