-
Notifications
You must be signed in to change notification settings - Fork 9.4k
FIX: blocky moving inside magnifier #29077
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
FIX: blocky moving inside magnifier #29077
Conversation
Hi @GrimLink. 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. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please 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 |
@magento run all tests |
Seems that failing functional tests are not related to this PR. Nice find. Has to be tested manually. |
Hi @ptylek, thank you for the review. |
✔️ QA Passed Preconditions:
Manual testing scenario:
<var name="magnifier">
<var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
<var name="mode">inside</var> <!-- Zoom type (outside/inside) -->
</var>
Before: ✖️ Blocky movement as seen on this image. After: ✔️ A smooth movement. Checked and on the Blank theme: Actual Result: ✔️ A smooth movement. Also, was checked if the mode is outside: <var name="magnifier">
<var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
<var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
</var> Actual Result: ✔️ A smooth movement. |
Hi @GrimLink, thank you for your contribution! |
Description (*)
This fixes the blocky movement when using the magnifier with the mode set to inside.
The move function is part of and if statement where 1 of the conditions was only for the magnifier mode outside.
This bug was created in the commit 3d34a3c
Related Pull Requests
None
Fixed Issues (if relevant)
Fixes #29076.
Manual testing scenarios (*)
lib/web/magnifier/magnifier.js
to you themefrom:
to:
Questions or comments
None
Contribution checklist (*)