Skip to content

Commit 558c9a4

Browse files
committed
Add Key for those who want to support uncoventional simultaneous toast locations
1 parent 83e4f12 commit 558c9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default defineComponent({
4343
const subContainers: Array<VNode> = []
4444
4545
toastInstance?.containerPositions.value.forEach((position) => {
46-
subContainers.push(h(BToaster, {instance: toastInstance, position}))
46+
subContainers.push(h(BToaster, {key: position, instance: toastInstance, position}))
4747
})
4848
4949
return h('div', {class: [classes.value, props.position], ref: container}, [

0 commit comments

Comments
 (0)