-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Post scheduler: Cannot move to prev/next month #17042
Comments
I think the problem is related to #14851 but the fix shouldn't be to update how withFocusOutside work. I think there's an a11y bug where in some browsers, the focus is lost entirely when we switch months. Ideally, when switching months, the focus should:
|
Tricky one to resolve as the button is handled internally to https://github.com/airbnb/react-dates ... this component in particular: It seems like a completely new dom tree is mounted for the date picker on every month change, which seems entirely unnecessary. Initially I thought this
Did some digging in the issues and this seems like it might be relevant: |
I confirmed using git bisect that this regression was introduced in #14851. |
Does this PR to the |
After upgrading to Gutenberg 6.3.0, I cannot move to the previous or next month when scheduling a post publish date. The date picker dialog is hidden after clicking on the navigation buttons:
The issue is not reproducible in Gutenberg 6.2.0.
The text was updated successfully, but these errors were encountered: