File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
projects/igniteui-angular/src/lib/services/overlay/scroll Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,11 @@ export class BlockScrollStrategy extends ScrollStrategy {
2828 /** @inheritdoc */
2929 public attach ( ) : void {
3030 this . _document . addEventListener ( 'scroll' , this . onScroll , true ) ;
31- this . _document . addEventListener ( 'wheel' , this . onWheel , true ) ;
3231 }
3332
3433 /** @inheritdoc */
3534 public detach ( ) : void {
3635 this . _document . removeEventListener ( 'scroll' , this . onScroll , true ) ;
37- this . _document . removeEventListener ( 'wheel' , this . onWheel , true ) ;
3836 this . _sourceElement = null ;
3937 this . _initialScrollTop = 0 ;
4038 this . _initialScrollLeft = 0 ;
@@ -52,9 +50,4 @@ export class BlockScrollStrategy extends ScrollStrategy {
5250 this . _sourceElement . scrollTop = this . _initialScrollTop ;
5351 this . _sourceElement . scrollLeft = this . _initialScrollLeft ;
5452 }
55-
56- private onWheel ( ev : WheelEvent ) {
57- ev . stopImmediatePropagation ( ) ;
58- ev . preventDefault ( ) ;
59- }
6053}
You can’t perform that action at this time.
0 commit comments