strapi / design-system

Strapi.io's design system :rocket:
https://design-system.strapi.io
MIT License
473 stars 167 forks source link

[bug]: Connection between label + input is broken on DateTimePicker and TimePicker #800

Closed gu-stav closed 1 year ago

gu-stav commented 1 year ago

What version of strapi-design-system are you using?

What's Wrong?

When clicking on the label of the TimePicker or DateTimePicker component, the focus is not properly set.

To Reproduce

Timepicker

  1. Open https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-timepicker--base
  2. Click on the label

DateTimePicker

  1. Open https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-datetimepicker--base
  2. Click on the label

Expected Behaviour

joshuaellis commented 1 year ago

This should be resolved as part of #911