twbs / twbs/bootstrap

Arrow Indicator for Dropdown Menus

Open
#37,205 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature v6-revisit
Dominant language
MDX
Stars
175k
Forks
78.6k
Avg merge
7h 19m
Merged PRs (30d)
35

Description

Prerequisites
Proposal

The dropdown menus in Bootstrap don't display an arrow indicator when expanded, but these would be very helpful for some types on menus, particularly in situations where you have a several icon buttons (with no text) on a navbar - each with a dropdown so when a dropdown is expanded it's not immediately clear visually which one is activated.

I imagine the arrow would be styled like the popover arrows and it'd be opt-in via adding a modifier class to the dropdown menu..

Motivation and context

GitHub (and many other sites) makes use of these:

image

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 Bootstrap's dropdown menus and compare the proposed indicator with the popover arrows shown in the linked documentation. Determine how an opt-in modifier class should identify an expanded icon-only dropdown, then verify that the indicator clearly shows which menu is active without affecting menus that do not opt in.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.