Closed Android63 closed 6 years ago
After using the new JS code from Nightingale, the menus stop working properly. Any ideas anyone?
If you look at this screenshot, you'll see the last 2 menu items (which have sub-menus) have been bunched up against the login button. More importantly, clicking on one of these menu items has no effect: the sub-menu doesn't open.
This is how it should look (and did look before this update):
@Android63 has the markup changed in Nightingale? Is the code still referenced correctly?
Any errors in Console?
I think I've found the problem. In my current markup, the subnav elements are included in the main nav div, whereas they should be after it. Reworking it now...
Since https://github.com/NHSLeadership/nightingale/issues/108 and https://github.com/NHSLeadership/nightingale/pull/165 have been completed, this is now resolved.
Implement fix to burger menu (nightingale issue #108