Skip to content

Commit 262952f

Browse files
committed
Merge branch 'master' of https://github.com/IgniteUI/igniteui-angular into rkaraivanov/toolbar-refactor
2 parents a7b57d5 + e5b9418 commit 262952f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/igniteui-angular/src/lib/directives/scroll-inertia/scroll_inertia.directive.ts

+4
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ export class IgxScrollInertiaDirective implements OnInit, OnDestroy {
9797
if (!this.IgxScrollInertiaScrollContainer) {
9898
return;
9999
}
100+
// if ctrl key is pressed and the user want to zoom in/out the page
101+
if (evt.ctrlKey) {
102+
return;
103+
}
100104
let scrollDeltaX;
101105
let scrollDeltaY;
102106
const scrollStep = this.wheelStep;

0 commit comments

Comments
 (0)