Skip to content

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

Merged
mrholek merged 1 commit into
mainfrom
docs/dropdown-responsive-alignment
Sep 7, 2026
Merged

docs(dropdown): align the responsive alignment examples to the toggle#384
mrholek merged 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 prose named an aligment prop that does not exist, in a syntax the component never accepted.
  • The examples passed color to CDropdown, which takes no such prop, so it only reached the DOM as an attribute on the wrapper. The toggle carried its own color all along, so nothing changes visually.

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 prose named an `aligment` prop that does not exist, in a syntax the
component never accepted. The examples also passed color to CDropdown,
which takes no such prop — it only reached the DOM as an attribute on the
wrapper, while the toggle carried its own color all along.
@mrholek
mrholek merged commit 59d5f60 into main Sep 7, 2026
5 checks passed
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.

2 participants