From b9410a9fed92f6554c354633cd651b7e1fef81ae Mon Sep 17 00:00:00 2001 From: xelaint Date: Sat, 2 Nov 2024 15:19:02 +0800 Subject: [PATCH] feat(design): remove unnecessary styles in accordion animation --- .../accordion/src/accordion/animation/accordion-animation.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/design/accordion/src/accordion/animation/accordion-animation.ts b/libs/design/accordion/src/accordion/animation/accordion-animation.ts index e3ac62b78a..f945070c18 100644 --- a/libs/design/accordion/src/accordion/animation/accordion-animation.ts +++ b/libs/design/accordion/src/accordion/animation/accordion-animation.ts @@ -12,13 +12,10 @@ export const daffAccordionAnimations: { } = { openAccordion: trigger('openAccordion', [ state('open', style({ - visibility: 'visible', opacity: '1', height: '*', })), state('void',style({ - visibility: 'hidden', - overflow: 'hidden', opacity: '0', height: '0', })),