laptop and a wrench

Bug

In ArcGIS API for JavaScript 4.22, when applying a filter function on a web scene, the web scene flashes for a moment before the requested filter is applied.

Last Published: March 4, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000147135
SubmittedFebruary 23, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.22
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

This is a known limitation and can be fixed on the app level by preloading the fields for the filter.

Workaround

Adding the following code snippet to the app causes the flashes to disappear.

 webscene.layers.forEach((layer) => {

  if (layer.title !== "Building Wireframe") {

   layer.outFields = ["FLOOR"];

  }

 });

Steps to Reproduce

Bug ID: BUG-000147135

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options