-
Notifications
You must be signed in to change notification settings - Fork 34
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
Datepicker in Actions closes the action modal prematurely #3778
Comments
When creating my 3.30 to 3.29 downgrade PR, I noticed this prop was populated again in
I guess these are missing in 3.30+ to avoid the premature close. |
Do you by any chance has any 3rd party that interacts with Date/DateTime field? Can you share your composer.json contents? |
We have a fair bit of extra components but none interacts with the DateTime field. |
This was removed to avoid depending on classes that don't exist while DatePicker transitions between show and hide as described in #3476. Previously reported issue after upgrading to 3.30 rely on 3rd party packages that weren't updated to support the changes, see #3683 Can you share |
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Unable to reproduce the issue on basic Laravel Nova installation, see nova-issues/issue-3778@493f9b7 CleanShot.2022-03-16.at.13.20.12.mp4 |
My sincere apologies. Digging further I noticed I will open an issue with https://github.com/techouse/intl-date-time |
Description:
Action modals get closed when clicking Datepicker's month navigation, month dropdown, year field, hour, minute or seconds fields.
The only elements not prematurely closing the modal are the day buttons.
After clicking the elements causing issues, the Action modal is closed and the calendar remains open.
I downgraded to 3.30.0 (issue still present).
Issue is not present in 3.29.0
I believe this is a regression introduced by this fix in 3.30.0:
Fixed issue with clicking away from a modal when using an iPad.
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a resource
add an action to the resource
add a date field to the action.
Trigger the action
click the date field
click anything else than a day in the DatePicker (see list of fields causing issue above)
The text was updated successfully, but these errors were encountered: