[DE PE] fix bug 55977

This commit is contained in:
Maxim Kadushkin 2022-03-16 15:27:04 +03:00
parent bfec2495b8
commit fed5f28bde
2 changed files with 4 additions and 2 deletions

View file

@ -365,7 +365,8 @@ define([
addEvent(me.el, eventname, handleDocumentWheel);
}
$(document).on('mousewheel', handleDocumentWheel);
!Common.Utils.isChrome ? $(document).on('mousewheel', handleDocumentWheel) :
document.addEventListener('mousewheel', handleDocumentWheel, {passive: false});
$(document).on('keydown', handleDocumentKeyDown);
$(window).on('resize', onDocumentHolderResize);

View file

@ -354,7 +354,8 @@ define([
addEvent(me.el, eventname, handleDocumentWheel);
}
$(document).on('mousewheel', handleDocumentWheel);
!Common.Utils.isChrome ? $(document).on('mousewheel', handleDocumentWheel) :
document.addEventListener('mousewheel', handleDocumentWheel, {passive: false});
$(document).on('keydown', handleDocumentKeyDown);
$(window).on('resize', onDocumentHolderResize);
var viewport = PE.getController('Viewport').getView('Viewport');