Keep PopUpTemplate expanded in mobile screen size

509
3
03-18-2021 08:21 AM
PeteVitt
Occasional Contributor III

Hi -  I've got a PopupTemplate associated with a FeatureLayer.  I'm hoping to keep it from collapsing content in a mobile screen size.  I've seen this solution for a View Popup https://community.esri.com/t5/arcgis-api-for-javascript/popup-functionality-in-mobile-view/td-p/5627... but I don't see a similar collapsed or collapseEnabled property for the PopupTemplate. 

PopUp also has a features property which accepts an array of graphics that can have a PopupTemplate associated with them, https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#features  but this doesn't work for a Feature Layer -- at least I don't see how to extract the graphics with attached PopupTemplate from the Feature layer.

Any ideas?

Thanks

Pete

0 Kudos
3 Replies
emorlin
New Contributor

Did you ever find a solution for this, and if so - can you please share it?

I'm having the same problem here and just can't figure it out 😕

 

0 Kudos
PeteVitt
Occasional Contributor III

Hi emorlin - Unfortunately did not find a way to stop the collapsing of content for mobile screen size.  I had only two fields to display so I stuck them in the title.

Pete

0 Kudos
emorlin
New Contributor

Pete,

thanks for your reply 🙂

I will keep on looking for an answer and I promise to post here if i find one.

Erik

0 Kudos