[Magento 2.3.3] Tabs lib issue

Hello all! We are currently working on upgrading from 2.2.7 to 2.3.3 and I have ran into an issue with the tabs lib.

We are using the ‘mage/tabs.js’ lib (‘tabs’ in requirejs dependency) to create a tabs section in checkout (using $(‘#element’).tabs() call to instantiate). However, after some debugging in 2.3.3 I see that Magento added the ‘jquery/ui-modules/tabs.js’ lib after breaking down the jquery/ui lib dependency. However, it seems as though our ‘.tabs()’ call is now hitting that new jquery ui tabs.js instead of mage/tabs.js and it is not working anymore.

Has anyone ran into this yet or know how to explicitly call the mage/tabs.js lib in js to prevent the wrong lib usage?


submitted by /u/thawkins
[link] [comments]