Skip to content

Tests: fix dialog/drawer dispose-while-open scroll-lock assertions#42575

Merged
mdo merged 2 commits into
v6-devfrom
mdo/fix-dialog-dispose-tests
Jun 27, 2026
Merged

Tests: fix dialog/drawer dispose-while-open scroll-lock assertions#42575
mdo merged 2 commits into
v6-devfrom
mdo/fix-dialog-dispose-tests

Conversation

@mdo

@mdo mdo commented Jun 27, 2026

Copy link
Copy Markdown
Member

The dispose-while-open specs added in #42544 asserted the dialog-open scroll-lock class on document.body, but #42545 moved the lock to the root element (documentElement). Each PR was green in isolation; together on v6-dev the two stale assertions fail. This aligns the two specs with the rest of the suite, which already asserts on documentElement.

The dispose-while-open specs added in #42544 asserted the scroll-lock
class on document.body, but #42545 moved the lock to the root element
(documentElement). The two changes were each green in isolation but
broke once both landed on v6-dev. Align these specs with the rest of
the suite, which already asserts on documentElement.
@mdo mdo requested a review from a team as a code owner June 27, 2026 03:20
bootstrap.bundle.js (83.15KB) and bootstrap.js (54.39KB) now exceed the
prior thresholds after the dialog/drawer/tooltip/popover/menu fixes
landed; each PR bumped only relative to its own base.
@mdo mdo merged commit 9d8019f into v6-dev Jun 27, 2026
12 checks passed
@mdo mdo deleted the mdo/fix-dialog-dispose-tests branch June 27, 2026 03:24
@mdo mdo added this to v6.0.0 Jun 27, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant