Skip to content

docs(dropdown): align the responsive alignment examples to the toggle - #550

Open
xidedix wants to merge 1 commit into
mainfrom
docs/dropdown-responsive-alignment
Open

docs(dropdown): align the responsive alignment examples to the toggle#550
xidedix wants to merge 1 commit into
mainfrom
docs/dropdown-responsive-alignment

Conversation

@xidedix

@xidedix xidedix commented Aug 26, 2026

Copy link
Copy Markdown
Member

Description

With responsive alignment Popper is off and the menu is placed by CSS, relative to the dropdown itself. The default variant renders that as a full-width block, so both examples dropped the menu against the edge of the container instead of the button. They now set variant="btn-group", which wraps just the toggle, and the page says why it is needed.

Two more fixes on the same section:

  • The first example used alignment="end" and the label of the menu alignment example, so it never demonstrated responsive alignment at all. It now uses alignment={{ lg: 'end' }} with the matching label.
  • The prose named an aligment prop that does not exist, in a syntax the component never accepted.

With responsive alignment Popper is off and the menu is placed by CSS,
relative to the dropdown itself. The default variant renders that as a
full-width block, so the examples dropped the menu against the edge of
the container instead of the button. They now set variant="btn-group",
which wraps just the toggle, and the page says why it is needed.

The first example used alignment="end" and the label of the menu
alignment example, so it never demonstrated responsive alignment at all.
The prose named an `aligment` prop that does not exist, in a syntax the
component never accepted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant