Skip to content

BToast doesn't close if value is set from number to false #2743

Closed
@amokrunnr

Description

@amokrunnr

Describe the bug

The toast destroy method needs to be called twice to work.

reproduction below, also can see this in the docs page "Programmatically Hiding a Toast"
https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs/composables/useToastController.html
(Hide the Toast) doesn't work

Reproduction

https://stackblitz.com/edit/github-ddc4bs1s-tuxkcpoq?file=src%2Fcomponents%2FComp.vue

Used Package Manager

npm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions