Hi,
I'm using sketchviewmodel to build a custom editing experience.
In my application I want to force the user to only update a single graphic. It should not be possible to click outside the graphic to cancel/complete the update operation. Unfortunately I cannot seem to disable the behaviour where a graphic is unselected when the user clicks outside the graphic. I've tried listening to the click event on the mapview and calling stopPropagation, but that doesn't seem to have an effect as the graphic is still unselected when I click outside it.
Does anyone know a way to disable the cancel/complete events that fires when clicking outside a graphic that is being updated using the sketchviewmodel?