Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: DateRangePicker - Second input resets and filter is applied when first input is being edited #318

Open
khaleedah opened this issue Apr 14, 2023 · 0 comments

Comments

@khaleedah
Copy link

Describe the bug
Context: The ScamShield SPF dashboard is using DateRangePicker component from the design system
When the first input is undefined, but the second input is defined, clicking into the first input again loads all the data.

To Reproduce
Steps to reproduce the behavior:

  1. Type in a date into the second input on datepicker.
  2. Click away out of datepicker
  3. Click into the first input of datepicker
  4. Datepicker loads all the data, even though second input is defined

Expected behavior
DateRangePicker should retain existing range even if user is clicking into the first input

Bug Behaviour video
(volume on for explanation lol)

Screen.Recording.2023-04-14.at.12.56.27.PM.mov
Screen.Recording.2023-04-14.at.12.59.53.PM.mov

Expected behaviour video

Screen.Recording.2023-04-14.at.12.57.19.PM.mov
Screen.Recording.2023-04-14.at.1.00.26.PM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant