Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fix: used deprecated onmousewheel event

Christoph Wiechertae28fcc12ff3
diff --git a/react/features/remote-control/actions.js b/react/features/remote-control/actions.js
index 391baf3ef8..c924c18d6e 100644
--- a/react/features/remote-control/actions.js
+++ b/react/features/remote-control/actions.js
@@ -689,7 +689,7 @@ export function resume() {
area.mouseup(event => dispatch(mouseClicked(EVENTS.mouseup, event)));
area.dblclick(event => dispatch(mouseClicked(EVENTS.mousedblclick, event)));
area.contextmenu(() => false);
- area[0].onmousewheel = event => {
+ area[0].onwheel = event => {
event.preventDefault();
event.stopPropagation();
dispatch(mouseScrolled(event));
@@ -739,7 +739,7 @@ export function pause() {
area.off('mousedown');
area.off('mousemove');
area.off('mouseup');
- area[0].onmousewheel = undefined;
+ area[0].onwheel = undefined;
}
$(window).off('keydown');