]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Remove unused FocusTrap and ScrollBarHelper utilities (#42595)
authorMark Otto <markd.otto@gmail.com>
Sun, 28 Jun 2026 15:37:02 +0000 (08:37 -0700)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2026 15:37:02 +0000 (08:37 -0700)
commitb06cb33fb51a08cb1028ea614c0f9e2b764f9750
treeb24eedb4ded9614ef08ffbb06fbd5ade28df7b95
parent4df3861692438772fc29d00344fac0f67fc4ee7d
Remove unused FocusTrap and ScrollBarHelper utilities (#42595)

Both became dead code with the Modal->Dialog / Offcanvas->Drawer rewrite:
the native <dialog> element provides the focus trap and top-layer
inerting, and the scroll lock is now :root.dialog-open in CSS. Nothing in
js/src imports either utility and neither is part of the public bundle
export — only their own unit specs referenced them.

Removes the source modules, their committed dist builds, and their specs.
js/dist/util/focustrap.js [deleted file]
js/dist/util/focustrap.js.map [deleted file]
js/dist/util/scrollbar.js [deleted file]
js/dist/util/scrollbar.js.map [deleted file]
js/src/util/focustrap.js [deleted file]
js/src/util/scrollbar.js [deleted file]
js/tests/unit/util/focustrap.spec.js [deleted file]
js/tests/unit/util/scrollbar.spec.js [deleted file]