Skip to content

Commit ea548fe

Browse files
committed
Remove redundant check
1 parent 7600df6 commit ea548fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/ActionBar/ActionBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const overflowEffect = (
161161
}
162162

163163
updateListAndMenu({items, menuItems})
164-
} else if (numberOfItemsPossible >= childArray.length && hasActiveMenu) {
164+
} else if (numberOfItemsPossible > childArray.length && hasActiveMenu) {
165165
/* If the items fit in the list and there are items in the overflow menu, we need to move them back to the list */
166166
updateListAndMenu({items: childArray, menuItems: []})
167167
}

0 commit comments

Comments
 (0)