Open aaronsalmon opened 8 years ago
this is the highest priority issue I found so far. currently unusable on a phone.
Reproducible on desktop by making a very short browser window. Roughly speaking it looks like if the title + image don't fit on screen, the popup auto-closes.
From what I can tell the marker click event attempts to pan the map such that the popup is visible, but because the popup window is too large to fit on the screen it pans the marker off the visible map, which is triggering the close popup event.
options:
other ideas?
@levifelling Ah good explanation, that sounds very likely the cause
option (I'm not sure if this is easily possible):
option (Though I think bad):
added maxHeight constraint to popup https://github.com/codeforeauclaire/foodtrucks/commit/22cda99299b57a0019325e5af245805263ca30dc
RE - 22cda99
when on your phone:
the popup flashes open for a moment and closes/disappears.