fix(ui): touch and tablet compatibility for field infobox buttons #12
Loading…
Reference in a new issue
No description provided.
Delete branch "a1/touch-infobox-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Auf Android Tablets im Chrome-Browser reagierten die Fragezeichen-Infoboxen (
.field-info-btn) nicht zuverlässig:touch-action: manipulation.pointer-events: none.touchend-Verarbeitung.Lösung
min-width: 26px,min-height: 26px).::before-Pseudoelement auf mindestens 44×44 px vergrößert (WCAG / Material Design Standard).touch-action: manipulation,-webkit-tap-highlight-color: transparentunduser-select: noneergänzt.pointer-events: noneauf die SVG-Grafik gelegt.setupInfoBoxesreagiert nun aufclick(Maus/Tastatur) UNDtouchend(Touchscreen).lastTrigger) verhindert doppeltes Auslösen.pointerdownundtouchstartstoppen die Propagation, sodass benachbarte Formularfelder nicht fälschlich den Fokus erhalten.initStudiofängt auchreadyState === 'interactive' / 'complete'ab.tests/server-and-api.test.mjsum Assertions fürtouch-action: manipulation, erweiterten Touch-Bereich (::before) undtouchend-Handling erweitert. Alle 49 Tests grün.