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

DateView Previous/Next buttons disabled #2595

Closed
Eonasdan opened this issue Jun 28, 2022 Discussed in #2589 · 2 comments
Closed

DateView Previous/Next buttons disabled #2595

Eonasdan opened this issue Jun 28, 2022 Discussed in #2589 · 2 comments
Labels
Area: TypeScript Priority: Medium State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release Type: Bug
Projects

Comments

@Eonasdan
Copy link
Owner

Discussed in #2589

Originally posted by cwolcott June 15, 2022
I just noticed an issue with the previous/next buttons on the Date View after I perform the following.

Description:

  • The date picker is configured to only allow a date to be selected between today and 3 weeks from today.
  • Returns a date in the format of YYYY-MM-DD
  • I have also configured css to show bright blue selectable dates (current month) light blue selectable dates (next month)

Steps:
1a - Open date picker
1b - Select Next (Navigates to July), Select Previous (Navigates to June) (It works)
1c - Close date picker
1d - Open date picker
1e - Select Next (Navigates to July), Select Previous (Navigates to June)s (Still works)
1f - Select a valid date in the current or next month
1g - Date picker automatically closes
1h - Open date picker
1i - Select Next (To navigate to July) (Doesn't work)
1j - Close date picker

Continue with the following and it works again:
2a - Don't reset and open date picker
2b - Click on June 2022 to show month view
2c - Select June
2d - Select Next (Navigates to July), Select Previous (Navigates to June) (It works again)

Here is an example

Eonasdan added a commit that referenced this issue Jun 29, 2022
@Eonasdan Eonasdan added this to In progress in v6 Jun 29, 2022
@Eonasdan Eonasdan added the State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release label Jun 30, 2022
@Eonasdan
Copy link
Owner Author

Hello @cwolcott, the development branch was recently updated. Please use this stackblitz to verify your issue is resolved.

@Eonasdan Eonasdan moved this from In progress to Review in progress in v6 Jun 30, 2022
@cwolcott
Copy link

cwolcott commented Jul 1, 2022

Looks good
https://stackblitz.com/edit/issue2596-verify

@Eonasdan Eonasdan moved this from Review in progress to Verified in v6 Jul 1, 2022
v6 automation moved this from Verified to Done Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: TypeScript Priority: Medium State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release Type: Bug
Projects
No open projects
v6
Done
Development

No branches or pull requests

2 participants