Skip to content

Drawer: read --bs-drawer-inline custom property - #43496

Open
asxxb wants to merge 1 commit into
twbs:mainfrom
asxxb:fix-drawer-inline-detection
Open

asxxb wants to merge 1 commit into
twbs:mainfrom
asxxb:fix-drawer-inline-detection

Conversation

@asxxb

@asxxb asxxb commented Nov 28, 2026

Copy link
Copy Markdown
  • Read --bs-drawer-inline instead of --drawer-inline in Drawer so responsive inline detection matches the built CSS.
  • Update the dialog-drawer unit tests to use --bs-drawer-inline and verify that an inline drawer stays closed.

Fixes #43495

The CSS build prefixes --drawer-inline with --bs-, so reading the unprefixed property always returned an empty string. Responsive drawers now read --bs-drawer-inline to detect inline mode.

Update the dialog-drawer unit tests to use --bs-drawer-inline and verify inline blocking.

Fixes twbs#43495
@asxxb
asxxb requested a review from a team as a code owner November 28, 2026 23:16
@julien-deramond julien-deramond added v6 v6, the main branch accessibility Keyboard, screen readers, contrast, ARIA bug Something does not work as documented js JavaScript or TypeScript sources and plugins labels Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Keyboard, screen readers, contrast, ARIA bug Something does not work as documented js JavaScript or TypeScript sources and plugins v6 v6, the main branch

2 participants