Closed (fixed)
Project:
The Better Mega Menu
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Mar 2021 at 20:40 UTC
Updated:
13 Jul 2021 at 17:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
quondam commented@rockaholiciam I'm unable to reproduce the issue you're reporting here - and have never encountered it in the course of creating a number of patches for the TB Mega Menu module, despite always having admin toolbar enabled. Have you already confirmed that disabling all of the admin toolbar modules allows your menu to work as expected while logged in? Does this issue occur for you under a fresh install of Drupal 8 with no other modules enabled besides admin toolbar and TB? Are there any errors or warnings thrown in your browser's JavaScript console? Are you using a custom theme and/or custom JS that might overlap with the TB functionality?
We'll need some additional info and help from you to narrow down the issue and address it. Considering that I've never encountered this one I'm marking the issue as postponed - but please feel free to move back to active if you're still seeing it and able to provide specific steps to reproduce.
Comment #3
crasx commentedI just came across this issue and traced it to the frontend js. In the drupal behavior, we need to pass the proper context to each jquery call. Here is a partial patch with a few examples, fixed the issue in my case.
Comment #4
imclean commentedComment #5
themodularlabComment #8
themodularlabThis has been reviewed and tested. It will be included in the next release.
Comment #9
themodularlabFixed on https://www.drupal.org/project/tb_megamenu/releases/8.x-1.0
Comment #11
TrinityDanI am still seeing this issue in Internet Explorer only running TB Mega Menu version 8.x-1.2.
Comment #12
themodularlab@TrinityDan, What version of Drupal are you on? Also have you looked at your browser's console logs? My gut feeling is there is a JS conflict somewhere, especially since you are using IE.
Comment #13
TrinityDanYou're probably right. I'm running Drupal 9.2.1. When maintenance mode is off and the menu isn't working, there are no errors shown in the console. Once I turn maintenance mode on and use the menu, I get a script error:
SCRIPT1002: Syntax error
shepherd.min.js (5,505)