fix: hide FAB when virtual keyboard is open on mobile
Uses visualViewport resize event to detect keyboard state (viewport height < 75% of window height). Sets body.keyboard-visible class; CSS hides .fab and .page-fab via visibility:hidden on screens < 1024px. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -872,6 +872,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* FAB und page-fab ausblenden wenn virtuelle Tastatur offen (nur Mobile) */
|
||||
@media (max-width: 1023px) {
|
||||
.keyboard-visible .fab,
|
||||
.keyboard-visible .page-fab {
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------
|
||||
* Form-Elemente
|
||||
* -------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user