Skip to content

fix: jQuery 3.6 support with Magento v2.4.4 #4

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iparmentier
Copy link

@iparmentier iparmentier commented Apr 16, 2022

With the installation of Magento 2.4.4, and the update of the dependency of jQuery to the 3.6 version, knockout templates must have all HTML tag closed.
Or else, the template is not loaded anymore by jQuery and throw some JS notices :

JQMIGRATE: HTML tags must be properly nested and closed: *

Ref :

  1. The JQuery library has been upgraded to version 3.6. The jquery-ui library has been upgraded to version 1.13.0. Several other JavaScript libraries have been updated to the latest versions.
  2. MC-41904 Fix HTML tags not properly nested/closed (https://github.com/magento/magento2/pull/18)

With the installation of Magento 2.4.4, and the update of the dependency of jQuery to the 3.6 version, knockout templates must have all HTML tag closed.
Or else, the template is not loaded anymore by jQuery and throw some JS notice :

JQMIGRATE: HTML tags must be properly nested and closed: *
@iparmentier iparmentier changed the title Introduction jQuery 3.6 support with Magento 2.4.4 fix: jQuery 3.6 support with Magento 2.4.4 Apr 18, 2025
@iparmentier iparmentier changed the title fix: jQuery 3.6 support with Magento 2.4.4 fix: jQuery 3.6 support with Magento v2.4.4 Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant