mui-nested-menu icon indicating copy to clipboard operation
mui-nested-menu copied to clipboard

MenuProps are not passed to deeper menus

Open magnattic opened this issue 1 year ago • 0 comments

I have a NestedDropdown like this:

    <NestedDropdown
      menuItemsData={menuItemsData}
      MenuProps={{
        anchorOrigin: {
          vertical: 'top',
          horizontal: 'left',
        },
        transformOrigin: {
          vertical: 'top',
          horizontal: 'right',
        },
      }}
...

The MenuProps only apply to the first level menu, all the deeper levels fall back to the default. This is because the MenuProps property is not passed down nestedMenuItemsFromObject which is being used by NestedDropdown.

magnattic avatar Nov 17 '23 10:11 magnattic