Overriding the default confirm behaviour on phoenix.html.link

While trying to override the default confirm behaviour of phoenix.link.click in live view, the operation happens already without waiting for confirmation from the user. I’m using vex for creating custom confirm dialog like in the docs below.

https://hexdocs.pm/phoenix_html/Phoenix.HTML.Link.html#link/2-overriding-the-default-confirm-behaviour

Me too facing the same problem, Please anyone can help us.

has anyone been able to resolve this one?