Problem/Motivation
As admin, I have to reload every page to see it. The page appears and disappears.
Works properly if not logged in.
Steps to reproduce
Go to any page load it. Console gives these errors:
Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
at cs.min.js:1:14275Understand this error
pixel10pics:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
ToolbarVisualView.js?v=11.3.2:87 Uncaught TypeError: Cannot read properties of undefined (reading 'style')
at r.updateToolbarHeight (ToolbarVisualView.js?v=11.3.2:87:21)
at v (backbone.js:337:57)
at d (backbone.js:322:19)
at u (backbone.js:110:16)
at r.trigger (backbone.js:312:5)
at r.set (backbone.js:535:16)
at mediaQueryChangeHandler (toolbar.js?v=11.3.2:350:17)Understand this error
ajax.js?v=11.3.2:554 Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.success (ajax.js?v=11.3.2:554:34)
at c (jquery.min.js?v=4.0.0-rc.1:2:23203)
at Object.fireWith [as resolveWith] (jquery.min.js?v=4.0.0-rc.1:2:23964)
at E (jquery.min.js?v=4.0.0-rc.1:2:69915)
at XMLHttpRequest.<anonymous> (jquery.min.js?v=4.0.0-rc.1:2:72419)Proposed resolution
Gemini says this is due to cs.min.js
but I can't find it. My theme is zurb_foundation, and I am on Drupal 11.3
Comments
Comment #2
dydave commentedThanks @tjtj for reporting this issue!
Could you please try testing with a different theme and see if the problem still occurs?
Could this issue be caused by a conflict module?
We'd like to get more information on the context, if possible, so the issue could be reproduced.
Thanks in advance!
Comment #3
shank115 commented@tjtj I tried reproducing this using the same version of Admin Toolbar and the
zurb_foundationtheme, but I wasn’t able to see the issue or the console errors.Could you try testing on a clean Drupal install with only the Admin Toolbar enabled? This would help determine if it’s a conflict with another module or custom code.