Fix scrolling canvas

This commit is contained in:
Julia.Radzhabova
2025-04-24 22:05:46 +03:00
parent 67a6583e95
commit 2f90999b1f
10 changed files with 32 additions and 6 deletions

View File

@ -114,8 +114,11 @@ define([
if (e.target.localName == 'canvas') {
if (me._preventClick)
me._preventClick = false;
else
else {
if (e.target.getAttribute && e.target.getAttribute("oo_no_focused"))
return;
me.boxSdk.focus();
}
}
});
this.boxSdk.on('mousedown', function(e){