forensic-architecture/timemap

Return ability to deselect all events

breezykermo opened this issue · 2 comments

In explore mode, there used to be the ability to click anywhere on the map to deselect all events. Somewhere in reactifying the map (most likely), this functionality was lost.

It should be as simple as dispatching a updateSelected(null) event as a handler on the background div of the Map component.

Upon further reflection, I realise that this functionality may not have actually been in the original d3 version of Map, as it is always possible to deselect events by clicking the cross at the top of the cardstack. @francamps, was this in the earlier version? Should we return it?

You are right, this functionality was not available in the original implementation. My preference would be leave it as what happens when closing the cardstack. I get the sense that it can be confusing if you are trying to pan around the map, since you may accidentally just close it all.