Open henriasv opened 6 years ago
Checked the bootstrap-vue docs. Adding the accordion behaviour in itself turns out to be just the matter of adding an attribute to the structure we already have. But as feared, it causes loss of scroll location and instant sea-sickness, so we need to fix #11 first.
To orchestrate the two animations we need more low-level control of them, which means some work.
Alternatively, one option could also be to drop animation altogether, or drop only the expand/collapse animation.
When opening (uncollapsing) a course module, other modules collapse. The interface to the course author should be an optional entry "accordion": True in course.json