jlomako/Montreal-ER

map disappears on mobile

jlomako opened this issue · 2 comments

When on mobile, I can click on the second tab and see the map with markers, but when I switch back to the first tab, scroll up and down and then click on the second tab again the leaflet markers have disappeared and the map shows only partially.
(no such problems when on computer)

to do: add reactive event that renders leaflet after click on second tab

Solved the issue by adding an observeEvent. The leaflet map now renders when switching to the second tab