PopupTemplate menu

102
1
05-18-2020 04:55 AM
MKY
by
New Contributor III

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.

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Esteemed Contributor

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-a... 

You just set the visibility of an action based on some criteria.

0 Kudos