Skip to content

Modal Does Not Pop Up When Using Button Directive When Version is > 2.0.0 #4669

Closed
@PatButlerTR

Description

@PatButlerTR

Describe the bug

Modal does not pop up when using button directive when version is > 2.0.0.

Steps to reproduce the bug

Create a modal and use the b-v-modal directive as described here:
https://bootstrap-vue.org/docs/components/modal/

Expected behavior

The modal pops open when the button is clicked.

Code

<div>
  <b-button v-b-modal.my-modal>Show Modal</b-button>

  <b-modal id="my-modal">Hello From My Modal!</b-modal>
</div>

Versions

Libraries:

  • > BootstrapVue: 2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions