JavaScript compatibility error with admin toolbar with compressed js

Created on 3 January 2025, 24 days ago

Problem/Motivation

When logged in as admin with the Admin Toolbar enabled there is the following error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'ToolbarVisualView')

The drop-downs don't function on the admin toolbar and there's white-space above

Steps to reproduce

Enable:
Toolbar
Admin Toolbar
Responsive Menu

Proposed resolution

Add dependency of toolbar for the JS

🐛 Bug report
Status

Active

Version

4.4

Component

Code

Created by

🇬🇧United Kingdom code-brighton

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024