Skip to content

BModal and v-if -> no show event (and no transition too) #1819

@makroxyz

Description

@makroxyz

Describe the bug

Using a BModal with v-if will not emit show event... since transition is not working!

Transition is not working with v-if. In some cases Modal should be "under a v-if" and this breaks animation and show event is not emitted

How we could fix that?

Reproduction

https://stackblitz.com/edit/github-nfznav?file=src%2FApp.vue

Used Package Manager

npm

Validations

  • Have tested with the latest version. This is still alpha version and sometime things change rapidly.
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleThere has been no additional replies or questions and the thread is assumed closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions