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

630
1
03-24-2021 04:46 PM
JackFairfield
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:

https://jsbin.com/dogezajiru/edit?html,output

0 Kudos
1 Reply
UndralBatsukh
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. 

 

-Undral

0 Kudos