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

BUG: Javascript closes container #39

Open
Mikkeljeppesen1 opened this issue Jan 2, 2023 · 1 comment
Open

BUG: Javascript closes container #39

Mikkeljeppesen1 opened this issue Jan 2, 2023 · 1 comment

Comments

@Mikkeljeppesen1
Copy link

Hi,

We have a problem with the generico in moodle 4.0.4 (2022041904) and generico "atto" (2018090300) + generico "filter".

course format: topics format "show alle sections"

I create a label with a container + a card and called it test. When i try to toggle the container it closes everything in the course + scolls to the top of the course.

if i set the course format to the same but only show a single section i works fine. I guess there is a javascript toggle function, wich open and close the container in generico but also the cotainers in the course.

other course format only showing1 section at a time works fine as well

before i click on the expand:
image

after:
image

@justinhunt
Copy link
Owner

Hi Mikkel.

It sounds like these are templates you have created in house for some Bootstrap components. I do not think that we have a container or card template by default. Can you export those using the green bundle box on the template settings pages, and then attach them here so I can check them out? Thanks

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

2 participants