-
Notifications
You must be signed in to change notification settings - Fork 38
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
customer account ui extensions: unable to close datepicker inside modal #2422
Comments
This seems to be fixed. Thank you! |
Re-opening this, it seems to be happening again. |
This is a issue only when the modal is under a |
Thanks for reporting this, we will be working on a fix! |
@sylvhama We also noticed this causes the calendar to open below viewport, after open it, the scroll is also affected and you can no longer scroll the page. |
@sylvhama Do you want me to move this to |
@mateusvahl sorry for the late reply:
|
@sylvhama no worries, thanks for the update! |
@sylvhama Would you like to confirm if this ticket still relevant? thanks |
@lihaokx yes it is, sorry for taking so long but we are still trying to figure out a solution to handle nested overlays 😅 |
We have temporary removed that It's a tricky one:
|
@mateusvahl sorry to hear you had to find a workaround. I thought of another workaround to close a nested overlay, you could rely on the overlay API to close it via the overlay id, see https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/apis/ui (click on |
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
Unable to close datepicker popup:
More actions
, thenReschedule
Issues:
1 ) Clicking in the modal does not closes the date picker
2) Clicking outside(overlay), causes the modal to close
Steps to reproduce the behavior:
The same does not happen, if you only have a single
primaryAction
🙇♂️:( But clicking outside the datepicker still closes the modal 😥)
Screenshots
Screen.Recording.2024-10-18.at.15.04.42.mov
The text was updated successfully, but these errors were encountered: