File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -5148,7 +5148,7 @@ class FastSearchCard extends HTMLElement {
51485148 }
51495149
51505150 hideCategoryButtons() {
5151- // NEU : Search-Wrapper wieder anzeigen
5151+ // Mobile : Search-Wrapper wieder anzeigen
51525152 if (this.isMobile()) {
51535153 const searchWrapper = this.shadowRoot.querySelector('.search-panel');
51545154 if (searchWrapper) {
@@ -5159,8 +5159,27 @@ class FastSearchCard extends HTMLElement {
51595159 const categoryButtons = this.shadowRoot.querySelector('.category-buttons');
51605160 if (!this.isMenuView) return;
51615161
5162- // 🌊 REVERSE RIPPLE EFFECT
5163- this.animateRippleOut(categoryButtons);
5162+ // ✅ SOFORT AUSBLENDEN ohne Animation
5163+ categoryButtons.classList.remove('visible');
5164+ this.isMenuView = false;
5165+
5166+ // ✅ ALLE STYLES ZURÜCKSETZEN
5167+ const buttons = categoryButtons?.querySelectorAll('.category-button');
5168+ if (categoryButtons) {
5169+ categoryButtons.style.opacity = '';
5170+ categoryButtons.style.transform = '';
5171+ categoryButtons.style.display = '';
5172+ }
5173+ if (buttons) {
5174+ buttons.forEach(button => {
5175+ button.style.opacity = '';
5176+ button.style.transform = '';
5177+ button.style.filter = '';
5178+ });
5179+ }
5180+
5181+ // ✅ PANEL WIEDER ERWEITERN
5182+ this.expandPanel();
51645183 }
51655184
51665185 handleCategorySelect(selectedButton) {
You can’t perform that action at this time.
0 commit comments