Why are popups being shown when they aren't included in the layerview's filter?

03-24-2021 04:46 PM
Occasional Contributor II

In the ArcGIS Javascript API 4.18 I'm noticing when clicking a feature with a popup template in a feature layer with a filter applied to the related layerview, other features in the layer that aren't visually shown and don't meet the filter's where clause.  Is this the intended behavior?  If so, is there an option to not include the additional features in the popup?

Here is a JSBIN with a simple example:


0 Kudos
1 Reply
Esri Regular Contributor

Hi there,

That is the current behavior of popup. We are working on changing this behavior so that popup is only displayed for visible features. I will update you once it is implemented. 



0 Kudos