Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Implement a Dropdown menu component #10

Open
0x000011b opened this issue Feb 10, 2023 · 0 comments · May be fixed by #17
Open

Implement a Dropdown menu component #10

0x000011b opened this issue Feb 10, 2023 · 0 comments · May be fixed by #17

Comments

@0x000011b
Copy link
Contributor

Summary

We'll need some sort of generic dropdown menu component. Think of Bootstrap's Dropdown component, or even the ones here in GitHub:

Example

Implementation suggestions

  • Should be implemented as a generic component under src/shared/
  • Component itself should only be worried about positioning itself and rendering the children it receives, logic and state handling regarding visibility toggling can be handled in a separate component (so it can be used with the existing Button component, for example)
  • Considering all the edge-cases that exist, it might be a good idea to use an existing library to handle the positioning logic. I suggest Popper.js.
  • Don't worry too much about styling. As long as it vaguely fits with the rest of the system, we can adjust down the line if necessary.
@0x000011b 0x000011b converted this from a draft issue Feb 10, 2023
This was referenced Feb 11, 2023
@0x000011b 0x000011b moved this from 📋 Backlog to 👀 In review in Front-end Backlog Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

1 participant