I populated the map's graphics layer with several graphics. Then I navigate on the map and by clicking on each graphic I can highlight the graphic and popup its infotemplate associated. However, when I click where there is no graphic there is no change, the last graphic remains highlighted and the popup is not closed. I would like to change that behavior, so when you click in en empty space selections and popups are removed.
I wonder if this is the default behavior of the WAB's map or it was defined when I created and added the graphics. In case it is managed by the app, which library manages clicks and selections on the map outside any widget?