Say I have a table and my row have phx-click handler. One of the columns has a link. If the link is pressed I don’t want the phx-click to run since it is handled already.
Here’s what I have
<tr phx-click={"[[\"navigate\",{\"href\":\"/battle/#{log.match_id}\",\"replace\":false}]]"}>
<%= if log.match do %>
<td>
<%= live_redirect "#{log.match.map}", to: ~p"/battle/#{log.match_id}" %>
</td>
When the live_redirect is called I don’t want the phx-click to trigger.