3 ms·
Nice idea. But I can’t navigate the site on my phone. For example: I try to press on any ”want ticket” link (I think it is a link since it is coloured and under
by Y-bar 1y ago
Nice idea. But I can’t navigate the site on my phone. For example: I try to press on any ”want ticket” link (I think it is a link since it is coloured and underlined) but my browser just selects it as regular text. Same with both Firefox and Safari.
- Y-bar 1y agoOkay, I am on a desktop now and why are you using a span with an event listener as a link when an <a href> would do? <span class="text-primary underline hover:text-primary-dark transition-colors font-medium text-xs cursor-pointer">Want tickets?</span>
- danthebaker 1y agoGood question! I went this route as it prevents the default navigation behaviour for the event row (which has click handling on the parent element to navigate to an event page and this span overrides that behavior locally).
- Y-bar 1y agoBut it is not accessible, you can’t navigate with keyboard, can’t open in a new tab/window, can’t copy the link. All just because you do not like the navigation?