When popup template actions are invisible, the menu is still shown with no menu items. I do not want to show menu if it does not have any menu item.
I have attached a sample code.
Markos,
I seems like a bug, but here is the design route that esri suggests:
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popup-custom-action
You just set the visibility of an action based on some criteria.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.