After upgrading to 2.0.0-alpha4 from 2.0.0-alpha3, the dropdowns failed to trigger for anonymous and authenticated users. On hover the 'open' class is not displaying unless you're logged in as a content editor / admin-type role where the Drupal admin menu also appears.
Admin Toolbar 3.4.1
Barrio Bootstrap 5 Theme 5.5.12
Drupal Core 9.5.9
Also using SmartMenus https://github.com/vadikom/smartmenus
Reverting to 2.0.0-alpha3 solved the issue, but stuck there for now. Any ideas?
Comments
Comment #2
todea commentedThe frontend.js file located at /modules/contrib/tb_megamenu/dist/js/frontend.js is missing the throttle function.
I copied over the function from the /modules/contrib/tb_megamenu/js/frontend.js file.
Make sure to update the throttled variable too
Comment #3
themodularlabThanks @todea. Looks like something compiled incorrectly. A fix is forthcoming for both the 2.x and 3.x branches.
Comment #4
themodularlabComment #8
themodularlabComment #9
themodularlabFor Drupal 9: Use https://www.drupal.org/project/tb_megamenu/releases/2.0.0-alpha6
For Drupal 10: use https://www.drupal.org/project/tb_megamenu/releases/3.0.0-alpha1
Comment #10
yospyn commentedThanks @todea and @themodularlab fix/new version works great.