Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with accordians in Moodle 4.2 and 4.4 #50

Open
superfoght opened this issue Sep 6, 2024 · 0 comments
Open

Issue with accordians in Moodle 4.2 and 4.4 #50

superfoght opened this issue Sep 6, 2024 · 0 comments

Comments

@superfoght
Copy link

Hi, I have had problems with the accordians in both Moodle 4.2 and 4.4. I haven't tested in 4.3 yet.

I just tried the default accordian templates in Generico templates, and they are created just fine, but I'm not able to collapse them. They are always open.

I also tried it with Bootstrap accordians and some other templates I found. Same issue.
In one example I got the following error:

Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll') at Collapse._getParent (first.js:4893:5701) at new Collapse (first.js:4893:1530) at HTMLDivElement.<anonymous> (first.js:4893:6589) at Function.each (jquery-3.7.1.min.js:2:3129) at ce.fn.init.each (jquery-3.7.1.min.js:2:1594) at ce.fn.init._jQueryInterface [as collapse] (first.js:4893:6298) at HTMLDivElement.<anonymous> (first.js:4893:7255) at Function.each (jquery-3.7.1.min.js:2:3129) at ce.fn.init.each (jquery-3.7.1.min.js:2:1594) at HTMLAnchorElement.<anonymous> (first.js:4893:7117)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant