I'm using the new Features widget to create a custom selection experience. This involves a custom onClick handler to handle selection and setting view.popupEnabled to false.
My custom view.on("click") handler performs a hit test, then adds only the first item in the hitTestResult to a list of features that we manage.
However, I noticed that when clicking on a location with multiple features, the Features Widget still shows multiple results. This suggests to me that the original onclick behavior is still happening, meaning that the Features Widget is not obeying view.popupEnabled = false.
Is there a way I could work around this?