ArcGis JS API 4.11, 4.12 不正确的工作 GraphicsView2D (来自 esri/views/2d/layers/grapics/GraphicsView2D) hitTest 方法

ArcGis JS API 4.11, 4.12 Incorrect work GraphicsView2D (from esri/views/2d/layers/grapics/GraphicsView2D) hitTest method

ArcGis JS API 4.11, 4.12 GraphicsView2D(来自 esri/views/2d/layers/grapics/GraphicsView2D)hitTest 方法 return 只有一个具有零索引的特征(图形)。 最好是 return 所有图形。

这是问题还是正确的工作?

UPD: 我打开了源码https://github.com/Esri/jsapi-resources 去4master分支打开/views/2d/layers/graphics/GraphicsView2D.js

在 hitTest 方法中看到类似的实现

t.prototype.hitTest = function (e, t) {
    if (!this.view || !this.view.position) return l.resolve();
    var r = this.view.toMap(g.createScreenPoint(e, t));
    return this.searchFeatures(r).then(function (e) {
        return e && e.length ? e[0] : null
    })
}

来自 graphicsView 的所有特征 return 只有一个值(e[0],索引为零)

我创建了包含许多对象的示例 https://jsfiddle.net/catcherholms/dmp1z387/143/

当我点击这里时 here 在 hitTest 结果中,我收到一个功能,应该不止一个

这就是 hitTest 应该 return:
"Returns the topmost feature from each layer that intersects the specified screen coordinates. The following layer types will return a result"