No Code Attached Yet bug
avatar mabagupv
mabagupv
17 Apr 2026

What happened?

1.A JavaScript runtime error occurs in the browser console on Joomla 6.1. The error is thrown inside the bundled Bootstrap/Joomla UI scripts and prevents correct dropdown behavior.

Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at gt (dom.min.js?5.3.8:1:2558)
at dropdown.min.js?5.3.8:1:665

media/vendor/bootstrap/js/dom.min.js?5.3.8
media/vendor/bootstrap/js/dropdown.min.js?5.3.8

That occurs in frontend and in backend.

Additional context:
Bootstrap 5.3.8 changelog notes that the JS change in this version was:
"Revert: Attempt to return focus explicitly to dropdown trigger"
(https://blog.getbootstrap.com/2025/08/25/bootstrap-5-3-8/)
This reversion may have removed a guard that previously prevented gt() in
dom.min.js from receiving undefined, reintroducing this TypeError in Joomla's
dropdown initialization flow.

Version

6.1

Expected result

In backend, the dropdown button "Take a Tour" or "User menu" should work without console js error.

Actual result

The "Take a Tour" or "User menu" dropdown in the top of backend doesn´t work and the console displays the error:
dom.min.js?5.3.8:1 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at gt (dom.min.js?5.3.8:1:2558)
at dropdown.min.js?5.3.8:1:665

System Information

Joomla! 6.1.0 Stable [ Nyota ] 14-April-2026 16:00 UTC
PHP Version 8.4.10
Database Type mysql
Database Version 8.0.45-36
Joomla Backward Compatibility Plugin Enabled (classes_aliases:"1", legacy_classes:"1")

Additional Comments

That works in 6.0.x

avatar mabagupv mabagupv - open - 17 Apr 2026
avatar joomla-cms-bot joomla-cms-bot - change - 17 Apr 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Apr 2026
avatar mabagupv mabagupv - change - 17 Apr 2026
The description was changed
avatar mabagupv mabagupv - edited - 17 Apr 2026
avatar mabagupv mabagupv - change - 17 Apr 2026
The description was changed
avatar mabagupv mabagupv - edited - 17 Apr 2026
avatar mabagupv mabagupv - change - 17 Apr 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-04-17 17:53:34
Closed_By mabagupv
avatar mabagupv mabagupv - close - 17 Apr 2026

Add a Comment

Login with GitHub to post a comment