mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5245 - TabView: selectOnFocus mode defect
This commit is contained in:
parent
05be6f3dfe
commit
9777f4c24a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue