Closed ogerly closed 1 month ago
c, [02.10.24 11:21] Jo sauber für iPhone 15 und 16 muss die Leiste Ca. 25 px tiefer da oben im Telefon noch eine Leiste ist
c, [02.10.24 11:22] [ Photo ]
A, [02.10.24 11:22] Ok
c , [02.10.24 11:23] Insgesamt kann es für mobil auch ca. 25% kleiner
In general I didn't check it in deep yet, but would it be possible to avoid the JS timers completely and only use CSS transitions? These are much easier to maintain.
🍰 Pullrequest
This PR modifies the TabControl component to keep the menu always open, addressing the issue of users not finding the cockpit option. The changes remove the auto-closing functionality while preserving the sliding animation between menu items.
Changes
TabControl.vue
isOpen
ref and related logicopen()
andcloseWithDelay()
functionsonUnmounted
hooksetItem()
function to handle only the sliding animationisSliding
state to manage the sliding animationTabControl.test.ts
vi.useFakeTimers()
andvi.runAllTimers()
callsImpact
Testing
https://github.com/user-attachments/assets/7cd7db3f-00b5-4ef9-848d-519ea0fb041c
Issues
This PR description was generated with the assistance of an AI language model.