Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 9a6ae63

Browse files
committed
fix(BLink): incorrectly collaping BCollapse when not in a nav fixes bootstrap-vue-next#1313
1 parent 9055e61 commit 9a6ae63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/bootstrap-vue-next/src/components/BLink/BLink.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ const clicked = (e: MouseEvent): void => {
162162
e.stopImmediatePropagation()
163163
return
164164
}
165-
collapseData?.close?.()
165+
166+
if (collapseData?.isNav?.value === true) {
167+
collapseData?.close?.()
168+
}
166169
167170
emit('click', e)
168171
}

0 commit comments

Comments
 (0)