Skip to content

Commit cd25b6f

Browse files
authored
Update fast-search-card.js
1 parent 6f72488 commit cd25b6f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

dist/fast-search-card.js

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5041,23 +5041,18 @@ class FastSearchCard extends HTMLElement {
50415041
animateRippleEffect(categoryButtons) {
50425042
const buttons = categoryButtons.querySelectorAll('.category-button');
50435043

5044-
// ✅ WICHTIG: Alle inline styles zurücksetzen
5045-
categoryButtons.style.opacity = '';
5046-
categoryButtons.style.transform = '';
5044+
// ✅ WICHTIG: CSS opacity überschreiben!
5045+
categoryButtons.style.opacity = '1 !important';
5046+
categoryButtons.style.transform = 'translateX(0) scale(1)';
5047+
categoryButtons.style.display = 'flex'; // Sicherheitshalber
50475048

5049+
// Rest der Funktion bleibt gleich...
50485050
buttons.forEach(button => {
50495051
button.style.opacity = '';
50505052
button.style.transform = '';
50515053
button.style.filter = '';
5052-
button.style.transition = '';
5053-
button.style.boxShadow = '';
5054-
button.style.background = '';
50555054
});
50565055

5057-
// Container sofort sichtbar machen
5058-
categoryButtons.style.opacity = '1';
5059-
categoryButtons.style.transform = 'translateX(0) scale(1)';
5060-
50615056
// Alle Buttons initial unsichtbar setzen
50625057
buttons.forEach((button, index) => {
50635058
button.style.opacity = '0';

0 commit comments

Comments
 (0)