Commit c05c752f authored by Curtis Adam's avatar Curtis Adam

Keep the category filter dropdown open if the user clicks on an element

parent f35d49be
Pipeline #29985 failed with stage
in 7 minutes
......@@ -20,7 +20,7 @@
<button class="btn btn-outline-primary btn-sm" id="poi-category-dropdown-button" ngbDropdownToggle>
<i class="fas fa-map-marker-alt"></i>&nbsp;POIs
</button>
<div ngbDropdownMenu aria-labelledby="poi-category-dropdown-button" class="poi-category-dropdown shadow">
<div ngbDropdownMenu aria-labelledby="poi-category-dropdown-button" class="poi-category-dropdown shadow" (click)="$event.stopPropagation()">
<button class="btn btn-outline-primary btn-sm" id="toggle-all-pois" (click)="togglePOIs()"><i class="fas fa-map-marker-alt"></i>&nbsp;Toggle all</button>
<hr class="dropdown-divider">
<ng-container *ngFor="let category of getCategories(); let i = index">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment