laptop and a wrench

Bug

CustomContent popup element does not work properly with using creator() function and return the error function: "Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode".

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000159273
SubmittedJune 21, 2023
Last ModifiedDecember 6, 2024
Applies toArcGIS Maps SDK for JavaScript
Version found4.27
Operating SystemN/A
Operating System VersionN/A
StatusAs Designed

Additional Information

The API reference documentation states that the Popup.open method takes a content property that accepts only string, htmlelement, or a widget. In this case, a PopupTemplate is trying to be autocast to it. This will not work and is not designed to do so.

Steps to Reproduce

Bug ID: BUG-000159273

Software:

  • ArcGIS Maps SDK 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