DigitalCommons / mykomap-monolith

A web application for mapping initiatives in the Solidarity Economy
0 stars 0 forks source link

[CWM] Clicking on marker should toggle the pop-up, rather than just open it. #43

Open lin-d-hop opened 2 weeks ago

lin-d-hop commented 2 weeks ago

Describe the bug When you click on a marker it triggers the opening of the popup. Click again and it opens again. We want the marker to close on a second click.

To Reproduce Steps to reproduce the behavior:

  1. Go to a marker
  2. Click on it
  3. The marker opens.
  4. Click again
  5. It stays open, when it should close

Expected behaviour When you click on a marker it triggers the opening of the popup. Click again and it closes.

Context (please complete the following information):