AlaskaAirlines / auro-datepicker

Custom element that allows users to select a date, either with text input or by displaying a calendar.
https://auro.alaskaair.com/components/auro/datepicker
Apache License 2.0
3 stars 4 forks source link

Performance issues with Range on DocSite #278

Open chrisfalaska opened 6 days ago

chrisfalaska commented 6 days ago

Please verify the version of auro-datepicker you have installed

3.1.8

Please describe the bug

  1. Visit the DocSite: https://auro.alaskaair.com/components/auro/datepicker
  2. Interact with the "Range" example
  3. Click around and note performance begins to degrade before entirely stopping

Video:

https://github.com/user-attachments/assets/76df1bb2-8426-4441-a8a2-d3fd3616c4fa

Expected behavior

Component should be performant and continue to function, regards of interaction.

What browsers are you seeing the problem on?

Reproduced in Safari & Chrome

Patrick-Daly-AA commented 5 days ago

I think this might not actually be a bug. The Date Picker doesn't let you select an earlier date after you have selected an initial date. It locks selection to only be same day or later. I wasn't able to reproduce this bug on Edge or Chrome.