Since upgrading JS API from 4.17 to 4.23, geometry buffer query is not working well or not working at all. I have two jsitor bins provided below. The first bin was created on 11/17/2020; the bin second was created on 4/19/2022. (Any deprecated objects in version 4.23 were updated).
The code is pretty much the same for both, with the exception for line 685 in 4.23 which I need to add in order to prevent a "Missing 'geometry' for identify operation." exception.
I think the view on click event is not triggered as quickly as in 4.17, and when the event is triggered, the sketchViewModel.state is "completed" but rarely "active".
view.on("click", function (event) {
if (sketchViewModel.state === "active")
Click the widget in the top right (envelope icon). Click the point icon in the now opened buffer tools panel. Click anywhere on the map. In 4.17, the area will be selected immediately, while in 4.23, nothing!
buffer working in esri 4.17
https://jsitor.com/QSx-HVA_s
buffer not working in esri 4.23
https://jsitor.com/VXMCiFcYr