mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 15:51:00 +00:00
c71ecc8f76
The card a phone host opens its entry from was still a tooltip bound to the pin, so Leaflet opened and closed it on the pin's hover and focus. A tap on the card reaches a phone browser as the pointer leaving the pin first: the pin's mouseout closed the card between the tap and its click, and on iOS a content change in that phase can drop the click entirely. Where a host wires onMarkerCardClick, the pins now bind no tooltip. One card per map stands over the active pin, the way the GL popup does: it follows highlightMarker, leaves when no entry is active or the entry pins are switched off, and only a change of entry moves it. A press on it never reaches the map. Desktop hosts keep the hover label on each pin. The card tests run against the handlers the pins really get and the card the map really adds, and the file parses again: two test names held an unescaped apostrophe.