Bug
| Bug ID Number | BUG-000102171 |
|---|---|
| Submitted | January 18, 2017 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS API for JavaScript |
| Version found | 4.2 |
| Operating System | Windows OS |
| Operating System Version | 2012 R2 |
| Status | Known Limit |
Add an event handler for the view's "drag" event and use its stopPropagation method.
For example:
var view = new MapView({
container: "viewDiv",
map: map,
zoom: 4,
center: [15, 65]
});
view.on("drag", function (event) {
event.stopPropagation();
});
Bug ID: BUG-000102171
Software:
Get help from ArcGIS experts
Download the Esri Support App