codegouvfr / react-dsfr

🇫🇷 The French Government Design system React toolkit
https://react-dsfr.codegouv.studio
MIT License
406 stars 51 forks source link

feat: SegmentedControl and Range components #224

Closed lsagetlethias closed 6 months ago

lsagetlethias commented 8 months ago

Closes #222 Closes #223

https://main--ds-gouv.netlify.app/example/component/segmented/ https://main--ds-gouv.netlify.app/example/component/range/

lsagetlethias commented 7 months ago

Range component is acting weird and freezing my tab from time to time even on dsfr netflify demo app.

I think there is a memory leak on dsfr.js but I can't figure it out where precisely.

I guess it should stay in beta with "use client" for now.

lsagetlethias commented 7 months ago

Example on the DSFR website: image

lsagetlethias commented 7 months ago

issue created on dsfr side: https://github.com/GouvernementFR/dsfr/issues/865

garronej commented 7 months ago

Le boss! Je regarde dès que je peut!

lsagetlethias commented 7 months ago

Ok top ! Attention toutefois, le Range est toujours buggé côté DSFR