This fixes the issue mentioned on #7921, #7922 and #7924.
This prevents the bug of loading of the tab from index 0 immediately after calling the super init regardless of the custom initial rendered tab. More specifically, the original issue was the method setSelectedIndex was called immediately when calling to the super initializer with a 0 value regardless of the initial currentTabIndex value.
After this fix, changing the selectedIndex with the non-initial value from options will not have any effect before the setup has finished.
This fixes the issue mentioned on #7921, #7922 and #7924.
This prevents the bug of loading of the tab from index
0
immediately after calling thesuper
init regardless of the custom initial rendered tab. More specifically, the original issue was the methodsetSelectedIndex
was called immediately when calling to thesuper
initializer with a0
value regardless of the initialcurrentTabIndex
value.After this fix, changing the
selectedIndex
with the non-initial value fromoptions
will not have any effect before the setup has finished.