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

Improve DataRangePicker's calendar click behavior #13466

Merged
merged 1 commit into from Oct 31, 2023

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Oct 19, 2023

I currently can't capture screencasts after a system upgrade. The behaviour is as one would expect from pure flatpickr, i.e. calendar click starts a range selection. To select a single date one needs to click a date twice.

TODO:

  • tests

fixes #13462

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #13466 (7d1bed8) into branch-3.4 (4488cbf) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           branch-3.4   #13466      +/-   ##
==============================================
- Coverage       92.67%   92.65%   -0.02%     
==============================================
  Files             320      320              
  Lines           20362    20362              
==============================================
- Hits            18870    18867       -3     
- Misses           1492     1495       +3     

@ianthomas23
Copy link
Member

I've confirmed this fixes the bug. Here's a screencast

Screen.Recording.2023-10-20.at.10.53.38.mov

@mattpap
Copy link
Contributor Author

mattpap commented Oct 31, 2023

I will test this separately from this PR.

@mattpap mattpap merged commit bcd7fe2 into branch-3.4 Oct 31, 2023
30 checks passed
@mattpap mattpap deleted the mattpap/13462_date_range_picker branch October 31, 2023 07:43
@mattpap mattpap mentioned this pull request Oct 31, 2023
@bryevdv bryevdv modified the milestones: 3.4, 3.3.1 Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] DateRangePicker selects individual dates by default
3 participants