codegouvfr / codegouvfr/react-dsfr

[COMPONENT - ACCORDION] Cumulative shift layout caused by animation

Offen
#459 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @enguerranws Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
496
Forks
99
Ø Merge
15 Std. 36 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.