I'm seeing an issue where nothing in the context menus Add section can be hidden on the first time the menu is opened. After the first time it works as expected
Steps to reproduce:
- Add this code
features : { taskContextMenu : { processItems({ taskRecord, items }) { items.add.menu.items.addTaskAbove.hidden = true } } },
- Open a context menu
It should hide addTaskAbove but you should see that the menu item is only hidden after the menu has been opened a second time. This was run in firefox on one of the demos if it makes a difference.