I am building a side menu app. I am also using the angular-leaflet-directive to create a map in the main part of the side menu and then I just have a few bits of content in the side menu itself.
When I interact with the map controls before opening the side menu everything works as it should, but the problem comes in after the side menu has been opened and closes. All of the map controls stop working.
Would just like to know what I’m doing wrong or if it’s a bug. I have found a codepen example from some one else that shows the same problems.
So on the codepen try open and close the pins popup bubble, then click and drag right on the welcome bar to open the side menu, then drag left on the welcome bar to close the side menu. Now try open and close the pins popup bubble.
I should have known this… Just didn’t notice you weren’t using it
Basically, leaflet maps captures the click/touch/tap/etc events itself, so Ionic doesn’t need to handle this for those components! the dtaa-tap-disabled setting disables tap handling by ionic, so leaflet can do it by itself. Obviously, the tap handling is only disabled on the element is applied on (and it’s children)