Frontmatter
| id | 1267 |
| title | tab.Container: moveTo() => adjust the activeIndex |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Oct 16, 2020, 3:21 PM |
| updatedAt | Oct 16, 2020, 3:35 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1267 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 16, 2020, 3:35 PM |
tab.Container: moveTo() => adjust the activeIndex
tobiu assigned to @tobiu on Oct 16, 2020, 3:21 PM

tobiu
Oct 16, 2020, 3:24 PM
ok, this is a bit more complex:
in case we are moving tab 0 to tab 2 and tab1 is the active tab, the activeIndex will change, although it is not related to the fromIndex or toIndex.
tobiu closed this issue on Oct 16, 2020, 3:35 PM
in case we are moving the active tab, we need to silently adjust the activeIndex config.