Mobile burger menu toggling not working

Created on 18 March 2024, 11 months ago
Updated 20 March 2024, 11 months ago

Hello

I'm new to this theme and have been taking a look at it so appologies if Ive missed something. After creating a subtheme it looks like the mobile burger menu toggling doesnt work. I can't see any of the usual bootstrap code for this. Is that correct and we'd have to add the JS ourselves to get it working?

I can see there's some offcanvas component that gets added but that doesn't appear to have any associated JS with it either

Or an I missing something? It would be great if this was included out of the box

UPDATE - sorry it all works as expected I see what was doing wrong, I had commented out the import for the Toast, Tooltip in main.script.js which in turn means the _bootstrap.js imports don't get added. Might it be worth adding Collapse as an export by default? As this is needed for out of the box menu behaviour?

πŸ› Bug report
Status

Closed: works as designed

Version

6.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom maseyuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024