Skip to content

Commit

Permalink
Fixed #5245 - TabView: selectOnFocus mode defect
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Feb 8, 2024
1 parent 05be6f3 commit 9777f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/tabview/TabView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default {
this.scrollInView({ element });
if (this.selectOnFocus) {
const index = parseInt(element.parentElement.dataset.index, 10);
const index = parseInt(element.parentElement.dataset.pcIndex, 10);
const tab = this.tabs[index];
this.changeActiveIndex(event, tab, index);
Expand Down

0 comments on commit 9777f4c

Please sign in to comment.