Fix table context menu going below screen

This commit is contained in:
Yuri Karamian
2026-06-19 14:30:32 +02:00
parent e4232269f6
commit 806e975e31
+1 -1
View File
@@ -4057,7 +4057,7 @@
let x = event.clientX;
let y = event.clientY;
const menuWidth = 220;
const menuHeight = 520;
const menuHeight = 560;
if (x + menuWidth > window.innerWidth) x = window.innerWidth - menuWidth - 8;
if (y + menuHeight > window.innerHeight) y = window.innerHeight - menuHeight - 8;
if (x < 4) x = 4;