The issue is because the map is in navigation mode by default, so when you press down the mouse key, the map responds with PAN operation. What you can do is to disable the map navigation when the user long presses the feature of a feature layer, and enable it once you finish handling the event.In addition, I would define the onMouseDown event handler against the feature layer instead of the map. Here is the code sample assuming the featureLayer created somewhere else. var timer, isPan = this.map.isPan;
on(this.featureLayer, "mouse-down", lang.hitch(this, function(e) {
timer = setTimeout(lang.hitch(this, function() {
isPan && this.map.disablePan();
this.selectFeatures(e.screenPoint).then(lang.hitch(this.editor, this.editor.moveFeature));
}), 5*1000);
}));
on(this.featureLayer, "mouse-up", function(e) {
clearTimeout(timer);
isPan && this.map.enablePan();
});