Improve mobile keyboard handling and viewport detection
All checks were successful
Build And Push Image / docker (push) Successful in 3m3s

- Disable transitions and make menu persistent on mobile devices
- Add keyboard open/close detection to prevent unwanted viewport updates
- Differentiate between keyboard events and actual viewport changes
- Improve resize debouncing with longer delays for mobile
- Handle orientation changes separately from keyboard events
This commit is contained in:
2025-08-09 19:49:12 +02:00
parent 623ad9c3fd
commit 006d4cf1ff
2 changed files with 45 additions and 7 deletions

View File

@@ -24,8 +24,10 @@
location="bottom start"
:offset="4"
:min-width="mobileDetection.isMobile ? '90vw' : '280'"
transition="fade-transition"
:transition="mobileDetection.isMobile ? 'none' : 'fade-transition'"
:no-click-animation="true"
:persistent="mobileDetection.isMobile"
:attach="false"
>
<template #activator="{ props: menuProps }">
<div