BootstrapVue provides one of the most comprehensive implementations of Bootstrap v4 for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
When using b-tabs if some of the tabs have IDs and some doesn't upon opening the page the active tab will automatically switch to one of the tabs without IDs.
This happens if the v-model variable is bound to a variable and used for controlling the tab which will be opened.
Mitigation solution:
Add ID to all the tabs
Steps to reproduce the bug
Create a page with b-tabs and tabs some with IDs and some without
Bind the v-model variable and set it to the first tab (0)
I had the same problem with the active element. The id element didn't not fully work for me.
I had to delete the property "key" that I had to use for the v-for loop according to eslint
Describe the bug
When using b-tabs if some of the tabs have IDs and some doesn't upon opening the page the active tab will automatically switch to one of the tabs without IDs. This happens if the v-model variable is bound to a variable and used for controlling the tab which will be opened.
Mitigation solution: Add ID to all the tabs
Steps to reproduce the bug
Expected behavior
The correct tab will open
Versions
Libraries:
Environment: