Description
When navigating gated content, the previous and next buttons stop working so the user can't go to previous/next subsections.
Expected behavior
As a learner, upon navigating to a gated unit, you should see a message about completing the prerequisite, and both the "Previous" and "Next" buttons should function correctly.
Actual behavior
As a learner, when you navigate to a gated unit, you see the message prompting you to complete the prerequisite, but the "Previous" and "Next" buttons do not work.
https://jam.dev/c/4f02a831-969b-4c18-beab-378b45a09e9e
Steps to reproduce
- Log in as a learner and navigate to a unit that is gated by the prerequisite.
- Observe the message about completing the prerequisite and attempt to use the "Previous" and "Next" buttons.
Originally reported here: openedx/openedx-platform#36826
Description
When navigating gated content, the previous and next buttons stop working so the user can't go to previous/next subsections.
Expected behavior
As a learner, upon navigating to a gated unit, you should see a message about completing the prerequisite, and both the "Previous" and "Next" buttons should function correctly.
Actual behavior
As a learner, when you navigate to a gated unit, you see the message prompting you to complete the prerequisite, but the "Previous" and "Next" buttons do not work.
https://jam.dev/c/4f02a831-969b-4c18-beab-378b45a09e9e
Steps to reproduce
Originally reported here: openedx/openedx-platform#36826