fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

The calendar returns to the first page after selecting the end date #528

Open FractalMind opened 11 months ago

FractalMind commented 11 months ago

Versions

Describe the bug The calendar returns to the first page after selecting the end date

To Reproduce Steps to reproduce the behavior:

  1. Go to https://fetrarij.github.io/ngx-daterangepicker-material/simple
  2. Select a START date in the inline calendar 'Inline daterangepicker with time and auto-apply' material/simple)
  3. Select a END date in the calendar by CHANGING PAGES
  4. See error: The calendar will change the page back to the start date page.

calendar_return_month

Expected behavior The page should stay at the end date page. I asked 5 persons and this should be the expected behavior

Is there an option or a workaround for this issue?

With love ❤️

raymondcheung commented 10 months ago

@FractalMind I opened a PR with a fix for this: https://github.com/fetrarij/ngx-daterangepicker-material/pull/530