Open
Description
in this function, sometimes the startIndex is bigger than the endIndex, causing the menu for hiddenTabs in TabNavList to have duplicated items.
I guess some tab extra element with user defined css can cause it to measure things incorrectly.
tabs/src/hooks/useVisibleRange.ts
Lines 42 to 61 in a4ce7c4
could we add a simple protection like
if (startIndex > endIndex) {
endIndex = startIndex;
}
Metadata
Metadata
Assignees
Labels
No labels