oss-slu / oss-slu/DigitalBoneBox

Modals do not scale well, and not all buttons may be visible

Open
#232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app design bug good first issue
Dominant language
JavaScript
Stars
8
Forks
18
Avg merge
8h 17m
Merged PRs (30d)
4

Description

Bug description and expecgted behavior

A clear and concise description of what the bug is, and what you expected to happen.

The Help and Quiz modals do not scale well. At certain window sizes or ratios, the close button may be hidden from view. The only way to see it again is to zoom out the browser.

Image

Although the user can press the Escape key to exit, this is not available on mobile devices, and we want our app to be accessible to mobile devices.

The CSS should be adjusted to make sure that the popups do not exceed the window height. The popups are their own scroll areas, so that to view any hidden text or buttons, the user can scroll within the popup.


Steps to reproduce

A list of steps it takes to see this bug.

  1. Open Help or Quiz modal
  2. Resize window to be smaller.

Acceptance Criteria

A checklist of conditions that must be met for this task to be considered complete. How will we verify that it's done correctly?

  • The buggy behavior no longer occurs.
  • All related code passes the repository's workflow checks (linting, tests).
  • The application runs without new errors after the changes are made.
  • (If applicable) New automated tests have been added to cover the changes.

Additional context

Add any other context or screenshots about the bug here.

Contributor guide

Open the 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.

Research direction

Start by locating the Help and Quiz modal components and their CSS, then reproduce the issue by resizing the browser window. Adjust the modal layout so it stays within the window height and scrolls internally, while keeping the close button visible. Run the repository workflow checks and verify both modals at smaller window sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
accessibility, frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.