diff --git a/src/modules/scrollbar/scrollbar.less b/src/modules/scrollbar/scrollbar.less index dade5bad4..4920d9bf0 100644 --- a/src/modules/scrollbar/scrollbar.less +++ b/src/modules/scrollbar/scrollbar.less @@ -15,6 +15,7 @@ border-radius: var(--swiper-scrollbar-border-radius, 10px); position: relative; -ms-touch-action: none; + touch-action: none; background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1)); .swiper-scrollbar-disabled > &, &.swiper-scrollbar-disabled { diff --git a/src/modules/scrollbar/scrollbar.scss b/src/modules/scrollbar/scrollbar.scss index 2ac8b76c7..93882d383 100644 --- a/src/modules/scrollbar/scrollbar.scss +++ b/src/modules/scrollbar/scrollbar.scss @@ -17,6 +17,7 @@ border-radius: var(--swiper-scrollbar-border-radius, 10px); position: relative; -ms-touch-action: none; + touch-action: none; background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1)); .swiper-scrollbar-disabled > &, &.swiper-scrollbar-disabled {