Fixed #5245 - TabView: selectOnFocus mode defect

pull/5247/head
tugcekucukoglu 2024-02-08 19:30:20 +03:00
parent 05be6f3dfe
commit 9777f4c24a
1 changed files with 1 additions and 1 deletions

View File

@ -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);