AnsweredAssumed Answered

Incorrect work ArcGIS js api 4.10 hitTest

Question asked by catcherholms on Feb 12, 2019
Latest reply on Feb 12, 2019 by ubatsukh-esristaff

Sometimes in my project with live data method hitTest of MapView work incorrect.
I created example with incorrect work

But after patching hitTest method in views/2d/layers/graphics/GraphicStore.js it work correct.
Example with patching

In examples after clicking on marker should be JavaScript alert.
In first example it isn`t working.

Question: Is correct way of my solution for resolving this issue?

About patch. In this example I pass bound property of element instead of aaBoundingRect. (98 line)