fix(ui): keep helper popups in visual viewport on mobile

Position helper info popups with visualViewport bounds and
max size so they stay on screen. Ignore helper triggers in the
global icon tooltip handler via data-icon-tooltip-ignore.
This commit is contained in:
Andras Bacsai committed 2026-08-06 23:38:11 +02:00
1 parent 39197d0357
commit 64d73b6922
4 files changed
+45 -6

No files matched your search

@@ -6,6 +6,7 @@
below: false,
activeTarget: null,
isIconAction(target) {
if (target.matches('[data-icon-tooltip-ignore]')) return false;
return target.matches('[data-tooltip], .icon-button') || target.querySelector('svg');
},
prepare(root) {