-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove unneccessary overflowed
class from minicart sidebar widget
#28963
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
Remove unneccessary overflowed
class from minicart sidebar widget
#28963
Conversation
Hi @lumnn. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
overflowed
class from checkout sidebar widgetoverflowed
class from minicart sidebar widget
Seems that test fails are not related to this PR. Nice catch! |
Hi @ptylek, thank you for the review.
|
@lumnn Please write issue number, if exist. |
@magento create issue |
@magento run all tests |
Failed Functional Tests B2B - not related to changes in this Pull Request. |
Hi @lumnn, thank you for your contribution! |
Description (*)
After investigating minibasket sidebar widget I've noticed
isOverflowed
function that appliesoverflowed
class to one of minibasket elements.Searching further, it seems that the class or even the word
overflowed
in any case is not used anywhere in magento2 repository.As I'm seeking any performance improvements for my personal Magento 2 project I thought it will be worth to submit the changes.
Manual testing scenarios (*)
Can't think of any real testing scenarios. All I've done is I've kept adding products to basket to see if it changes at all the look and behaviour of minibasket
Questions or comments
overflowed
class. However, I believe if custom theme want's this behaviour, then it should extend the JS widget.Contribution checklist (*)
Resolved issues:
overflowed
class from minicart sidebar widget #29160: Remove unneccessaryoverflowed
class from minicart sidebar widget