Hi!
I made a tiny tiny contribution to the LiveView project (just two lines of code
available from release 0.5.0 ), which adds offsetX and offsetY coordinates to the click event metadata. These coordinates are useful to know exactly where the click happened inside the element.
In this article I show how to use phx-click and offsetX,Y coordinates, letting the user interacts with SVG elements.






















