Hey guys - whats the best way to calculate the coordinates of a click event. Specifically when viewing within a device frame?
have you tried: print event.x
Yeah that works when doing anything full screen but when working within a device frame it seems to offset the position of the click event. The value that print event.x returns seems to be the same but the position on screen is different.
Yep you have to correct for the Device. Here is an example how to do that. I'll have it added to Framer soon.
awesome thanks Koen Bok
Koen, was this ever added to Framer?
Almost almost, I know this is a pain in th b*tt.