AnsweredAssumed Answered

[JSAPI 4.7 vs 4.6][PopupTemplate] mediaInfo image hide when empty

Question asked by Justdoit011 on Apr 19, 2018
Latest reply on Jul 5, 2018 by Justdoit011

I noticed a change in popup behavior when I upgraded ArcGIS API from v4.6 to v4.7. I have a layer with images in popup template. Some features in that layer may not have an image, i.e. {Image} field empty.


In JSAPI v4.6, the popup will not show image when empty, as expected:



However, in JSAPI v4.7, the popup will show an empty image, which looks very weird:



Here is an running example: 


I'm wondering if this change is made on purpose or it's a bug in v4.7 API? Thanks.