Skip to content

Commit 7bc5135

Browse files
authored
Merge pull request #2072 from IgniteUI/skrastev/fix-267598-19.2
Move thin scrollbars to show only after scrolling has started and not on touchstart.
2 parents ba2a81c + f98107b commit 7bc5135

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/js/modules/infragistics.ui.scroll.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,8 +2421,6 @@
24212421
this._offsetDirection = 0;
24222422

24232423
this._igScollTouchPrevented = false;
2424-
2425-
this._showScrollbars(true);
24262424
},
24272425

24282426
_onTouchMoveContainer: function (event) {
@@ -2510,11 +2508,12 @@
25102508
}
25112509

25122510
if (scrolledXY.x === 0 && scrolledXY.y === 0) {
2513-
this._igScollTouchPrevented = true;
2511+
this._igScollTouchPrevented = true;
25142512
}
25152513

25162514
//On Safari preventing the touchmove would prevent default page scroll behaviour even if there is the element doesn't have overflow
25172515
if (!this._igScollTouchPrevented && event.cancelable) {
2516+
this._showScrollbars(true);
25182517
event.preventDefault();
25192518
}
25202519
},

0 commit comments

Comments
 (0)