Hello,
I'm running into an issue on ArcGIS Core / web components 5.0 where sketch will only let me draw one point and attempting to to draw any new point after this will fail to draw. This is reproducible with a simple app:
https://codepen.io/daveoke/pen/XJjeBdX
Issue only happens with a SceneView.
Steps to reproduce:
1. Select the Point drawing tool
2. Draw the first point (point will draw)
3. Any new point after this will fail to draw.
You will need a graphics layer to store them in. See this example.
My app does have one and has the same behavior. However, the new Sketch web component actually creates a default graphics layer.
The example is from a previous (now deprecated) version using widgets and worked for us in the past.
I see. If you change it from a scene to a map it works fine. Must be a bug. You could try like the example as a work around perhaps? Might need to add an event listener like sketchViewModel.cancel() after each point creation if it acts the same there too.
@DavidOke ,
This has been resolved at version 5.0.17.
https://developers.arcgis.com/javascript/latest/release-notes/#5017-04162026
Apologies for the regression, and thank you for reporting this to the team.