Fix image lightbox click handling and module image size rendering
This commit is contained in:
@@ -57,6 +57,10 @@
|
||||
let offsetY = 0;
|
||||
|
||||
note.addEventListener('pointerdown', (event) => {
|
||||
if (event.target instanceof Element && event.target.closest('a, button, input, select, textarea, label')) {
|
||||
return;
|
||||
}
|
||||
|
||||
dragging = true;
|
||||
pointerId = event.pointerId;
|
||||
note.setPointerCapture(pointerId);
|
||||
|
||||
Reference in New Issue
Block a user