Bootstrap4 carousel doesn't render correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Evonne Cheung |
Bug Description
I tried to put a carousel into index.tpl using the example from the bootstrap documentation[1] but it's broken in a number of ways; the arrows and indicators don't render in the correct position and the animation does not run as expected and instead ends up as a sort of awkward shuffle (I can post an example if requested).
I've narrowed down the problem to a number of overrides in the raw theme in Mahara which my theme is based on. If I remove the _carousel.scss from components/ and the carousel related code from _bootsrap-
A search through the commit log shows some fairly old commits related to carousel and image gallery.[5]
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
Changed in mahara: | |
assignee: | nobody → Evonne Cheung (evonne) |
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mahara: | |
milestone: | none → 21.04.2 |
milestone: | 21.04.2 → 21.10.0 |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Hi Adam,
There is no reason why the image gallery could not use the regular Bootstrap carousel other than the feature of jumping to the first and last image in the gallery.
If we ignore that for a moment, Evonne and I suggest to update the current carousel gallery slideshow to the latest Bootstrap 4 code carousel. We would want to make the 'next' and 'previous' indicators more accessible though as light grey and white are not be visible on all backgrounds.
We haven't yet figured out how to get the bottom indicators in, replacing the fast-forward icons. We also propose to keep the description below the image for accessibility reasons, but need to think a bit more about that because it would affect all instances where you might also display a regular carousel that has descriptions.
Evonne is tinkering, and once she has a proposal, the link to the code review item will show up here.
Thank you
Kristina