Open nelsonic opened 1 year ago
This is the final requirement in #141 We need to check if the DOM node being clicked/tapped is an <a> tag and if it is, don't enter Edit mode.
DOM
<a>
Edit
Should be straightforward to intercept the click/tap event. Unless it's all in a phx-click black box ... 💭
phx-click
The code is currently:
https://github.com/dwyl/mvp/blob/23b301d51ddd0efa71adc24a5974be7309557338/lib/app_web/live/app_live.html.heex#L428-L435
I've made some progress with intercepting the click event ... but still getting errors. 😢
click
Will return to this later. ⏳
This is the final requirement in #141 We need to check if the
DOM
node being clicked/tapped is an<a>
tag and if it is, don't enterEdit
mode.Should be straightforward to intercept the click/tap event. Unless it's all in a
phx-click
black box ... 💭