Wrong behavior with popup property maxInlineActions in JS API 4.15?

397
1
06-26-2020 07:40 AM
SpikyMS
New Contributor II

Hi,

when using the new property maxInlineActions for popups, I encountered a strange behavior. Setting maxInlineActions to 0 leads to the effect, that you can only see a "three dot menu" when a click hits several objects (so that the pager is shown). When hitting only one feature, there is no menu to access the action.

I've build a sample here: https://codepen.io/dpayk/pen/qemwvy 

When opening the three-dot-menu, it opens at a wrong position, I think.

Kind regards

Dennis

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Dennis,

   I don't think that they expected someone to set this property to zero. The code in the popup does not create the footer element when there is no need for the pager and because the popup menu in contained in the footer, you do not get the menu when there is only on feature selected.

0 Kudos