LearnNewsExamplesServices
Frontmatter
id1267
titletab.Container: moveTo() => adjust the activeIndex
stateClosed
labels
enhancement
assigneestobiu
createdAtOct 16, 2020, 3:21 PM
updatedAtOct 16, 2020, 3:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/1267
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 16, 2020, 3:35 PM

tab.Container: moveTo() => adjust the activeIndex

Closed v8.1.0 enhancement
tobiu
tobiu commented on Oct 16, 2020, 3:21 PM

in case we are moving the active tab, we need to silently adjust the activeIndex config.

tobiu added the enhancement label on Oct 16, 2020, 3:21 PM
tobiu assigned to @tobiu on Oct 16, 2020, 3:21 PM
tobiu
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 referenced in commit 94880c2 - "tab.Container: moveTo() => adjust the activeIndex #1267" on Oct 16, 2020, 3:34 PM
tobiu closed this issue on Oct 16, 2020, 3:35 PM