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
2026-08-06 23:38:11 +02:00
parent 39197d0357
commit 64d73b6922
4 changed files with 45 additions and 6 deletions
+1
View File
@@ -8,6 +8,7 @@ it('uses the custom tooltip for icon actions across layouts', function () {
->and($tooltip)
->toContain("closest('button, a, [data-tooltip]')")
->toContain("target.querySelector('svg')")
->toContain("target.matches('[data-icon-tooltip-ignore]')")
->toContain("target.removeAttribute('title')")
->toContain('role="tooltip"')
->toContain('aria-label')