-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Minicart is closed on element initialization instead of on element click #34405
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
Comments
Hi @HenKun. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @HenKun, Steps followed:
Actual results: Expected result: |
All reactions
Sorry, something went wrong.
❌ Something went wrong. Cannot create Jira issue. |
All reactions
Sorry, something went wrong.
✅ Jira issue https://jira.corp.magento.com/browse/AC-1542 is successfully created for this GitHub issue. |
All reactions
Sorry, something went wrong.
✅ Confirmed by @engcom-Alfa. Thank you for verifying the issue. |
All reactions
Sorry, something went wrong.
Any news on this? |
All reactions
Sorry, something went wrong.
Hi @HenKun, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and the issue is no more reproducible.kindly refer the screenshots. ![]() Hence we are closing this issue. Thanks. |
All reactions
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
magento2/app/code/Magento/Checkout/view/frontend/web/template/minicart/content.html
Line 60 in ac88ad9
Summary of the issue
In the current implementation the
closeMinicart
function is executed as soon as the "Proceed Checkout Button" gets initialized, instead of when it is clicked.Information on your environment
Magento 2.4.1, but code is same in current master.
Steps to reproduce
closeMinicart
Solutiion
The click handler must be given as anonymous function:
Additional Info
Reproducable on 2.4-develop

Steps followed:
Actual results:
In the current implementation the closeMinicart function is executed as soon as the "Proceed Checkout Button" gets initialized
Expected result:
In the current implementation the closeMinicart function is executed as soon as the "Proceed Checkout Button" gets initialized instead of when it is clicked.
The text was updated successfully, but these errors were encountered: