codegouvfr / codegouvfr/react-dsfr

[COMPONENT - ACCORDION] Cumulative shift layout caused by animation

Aperta
#459 1 commento 0 reazioni 1 assegnatario Rivendicata da @enguerranws Vedi su GitHub
Lingua principale
TypeScript
Stelle
496
Fork
99
Merge medio
15h 36m
PR unite (30g)
4

Descrizione

Hello,

Even though I'm using the Accordion component in a controlled way, the open/close animation remains, where the documentation says it does not. This causes bad performance upon page load & display, specifically on the CLS metric.

Is there a way to simply disable any animation on this component whatever the way I'm using it?

Thanks!

Image

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.