Home > @uniformdev/design-system > MenuProps > disableAutoSeparatorManagement
MenuProps.disableAutoSeparatorManagement property
By default the menu will automatically remove MenuItemSeparator components when they are: - the first child - the last child - adjacent to another separator
...both in the menu's immediate child items and any Fragment or MenuGroup components' children within. This simplifies boolean logic with highly conditional menus so one can not worry about contiguous separators. If you need to disable this functionality, set this prop to true.
Signature: