laptop and a wrench

Bug

In ArcGIS API for JavaScript, the index property does not work with the add() method in the DefaultUI class when using numbers other than 0.

Last Published: November 7, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000117727
SubmittedOctober 25, 2018
Last ModifiedDecember 20, 2024
Applies toArcGIS API for JavaScript
Version found4.9
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

Problem appears app-specific. Cannot repro on stripped down sample.. see https://codepen.io/anon/pen/oJyXom?&editable=true&editors=100

Workaround

Push objects to array with the index numbers in ascending order.

Steps to Reproduce

Bug ID: BUG-000117727

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