mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 07:40:59 +00:00
a1c7ea209b
On the phone journey screen and the public share page on a phone, a tap on a numbered pin brings up the entry's card above it, but the card could not be tapped: the GL popup and the Leaflet tooltip both let the pointer fall through to the map, and no phone host gave the card anything to do. The map now takes onMarkerCardClick, and both renderers make the card open that entry once a host wires it. The GL popup handles it in its delegated listener next to the photo strip, which keeps opening the photos where the desktop asks for that. Leaflet handles it on the tooltip element itself: a press that reached the map container let Leaflet focus the map, which blurred the pin and closed the card before its click landed. The phone screen and the timeline open the entry through the carousel hook, the same way a tap on the active card does. The desktop asides keep the card as a hover label. The unused hideMarkerTooltip prop goes, together with the docs that still said the phone hides the card. Closes #2885