8000 chore(b-sidebar): only render the tab traps when the sidebar is open … · ThoriumData/bootstrap-vue@56ebde5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56ebde5

Browse files
authored
chore(b-sidebar): only render the tab traps when the sidebar is open (bootstrap-vue#5191)
1 parent 44b4bd4 commit 56ebde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/sidebar/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export const BSidebar = /*#__PURE__*/ Vue.extend({
435435

436436
let $tabTrapTop = h()
437437
let $tabTrapBottom = h()
438-
if (this.backdrop) {
438+
if (this.backdrop && this.localShow) {
439439
$tabTrapTop = h('div', {
440440
attrs: { tabindex: '0' },
441441
on: { focus: this.onTopTrapFocus }

0 commit comments

Comments
 (0)
0