magento2
magento2 copied to clipboard
Github issue 34886: Fixed work close button and "preventDefault insid…
Description (*)
Fixed work close button and "preventDefault inside passive event listener invocation" error in console.
Related Pull Requests
Fixed Issues (if relevant)
- Fixes magento/magento2#34886
Manual testing scenarios (*)
- Open product page on a mobile device
- Scroll product page on mobile
- Click on a product image then zoom popup open
- Then try to close the popup by clicking the close button
Questions or comments
Contribution checklist (*)
- [ ] Pull request has a meaningful description of its purpose
- [ ] All commits are accompanied by meaningful commit messages
- [ ] All new or changed code is covered with unit/integration tests (if applicable)
- [ ] README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- [ ] All automated tests passed successfully (all builds are green)