-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the bug
We have a link that shows a b-collapse element like this:
<b-card-header header-tag="header" role="tab">
<a v-b-toggle="'week-' + i" href="#" @click="getDefaults">{{week.dates.join(' - ')}}</a>
</b-card-header>
<b-collapse :id="'week-' + i" accordion="weeks" role="tabpanel" @show="getDefaults">
Toggling visibility of the b-collapse element doesn't work unless we remove the @click directive (or set it to have no handler, like in the examples.)
Expected behavior
Clicking the link should show/hide the b-collapse element, even with an @click handler.
Versions
Libraries:
- BootstrapVue: 2.15.0
- Bootstrap: 4.5.0
- Vue: 2.6.11
Environment:
- OS: Linux
- Browser: Firefox
- Version: 76.0.1
tomm-ylee, sam-araiza, nachogarcia and paseto