I am trying to make a SharePoint add-in work with SharePoint Online New Experience mode. The add-in adds a custom menu item that runs inside iframe (HostWebDialog="true") and works well with SharePoint 2013 and SharePoint Online Classic Experience mode:
<CustomAction Id="1237b974-6d89-4d20-b8ac-2b4ba8e21dce.MenuTest1"
RegistrationType="List"
RegistrationId="101"
Location="EditControlBlock"
Sequence="1"
Title="Menu text"
HostWebDialog="true"
HostWebDialogHeight="280"
HostWebDialogWidth="400">
<UrlAction Url="~appWebUrl/Pages/MyPage.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}&SPSource={Source}&SPListURLDir={ListUrlDir}&SPItemURL={ItemUrl}" />
</CustomAction>
However with a new SharePoint Online New Experience it does not work. The menu item appears in context menu but the menu call is silently ignored. No JS errors or any messages are displayed.
Does SharePoint 2016 New Experience mode supports HostWebDialog="true" option in CustomAction?