Bug
Bug ID Number | BUG-000102171 |
---|---|
Submitted | January 18, 2017 |
Last Modified | September 22, 2021 |
Applies to | ArcGIS API for JavaScript |
Version found | 4.2 |
Operating System | Windows |
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();
});
Get help from ArcGIS experts
Download the Esri Support App