I use Web AppBuilder (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.16).
Regularly mouse left click on a feaature opens feature default popup.
I don't want to change this, but how can I enable/disable an option that left click (or right click) on a feature will open my custom widget on that feature e.g. if I want to supply the user with query options on that feature?