openedx / openedx/paragon

[Playground] List height in Dropdown component

Open
#2,988 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug playground
Dominant language
JavaScript
Stars
140
Forks
100
Avg merge
1h 3m
Merged PRs (30d)
30

Description

In the Dropdown component, we have an unlimited height of the drop-down list with elements. If there are many elements, the drop-down list will be displayed in full and may extend beyond the viewport.

Current behavior:

https://github.com/openedx/paragon/assets/93188219/a1606232-c911-4f6c-85ee-00c689f99435

Suggestions for implementation:

https://github.com/openedx/paragon/assets/93188219/3b3c40e8-f8ab-4d62-b897-a15f18b1577f

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 with the linked Dropdown component in the Paragon playground and reproduce the behavior using many list elements. Compare the current behavior with the linked implementation suggestion, then verify that the list no longer extends beyond the viewport.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.