Courses sidebar jumps up when opening the Programs dropdown

Open Beginner friendly
#473 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 7 days

@Ayeyomeday is already working on this.

Since Nov 13, 2026.

  • #479 by @Ayeyomeday — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bootstrap, javascript
Domain
frontend

Research direction

Start by reading app/static/css/sidebar.css and locating #divisionSelect and .invisible-select; then trace how the Programs dropdown is initialized and opened. Reproduce the issue on the Courses page with a term and program selected. Done when opening Programs shows the subject list below its header without moving the sidebar scroll position.

Written by the indexing model from the issue text.

Description

On the Courses page, clicking Programs in the left sidebar scrolls the whole sidebar up: the Term list and the Programs header slide out of view, and only the subject list (MAT, CSC, …) is visible at the top. Picking a subject reloads the page and it looks normal again.

Steps to reproduce

  1. Go to Courses → pick any term and program.
  2. Click "Programs ▾" in the sidebar.

Expected: the subject list opens below the Programs header, and the sidebar stays where it was.

image

Actual: the sidebar scrolls up.

image

Likely cause: the Programs dropdown is a hidden bootstrap-select (#divisionSelect, .invisible-select in app/static/css/sidebar.css) inside the sidebar, which has overflow-y: scroll. Opening it makes the browser scroll the sidebar to show the list or its search box.

Dominant language
JavaScript
Stars
0
Forks
3
Avg merge
8d 5h
Merged PRs (30d)
6

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BCStudentSoftwareDevTeam/cas

All issues in BCStudentSoftwareDevTeam/cas

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.