Koen, was looking at your event position correction framer. Working? Check it out. EDIT: Use event.offsetX not clientX
Not a lot behind my Mac this week :-) So... is it working?
I just changed a bunch of stuff there for something I'm working on, and it works pretty well here.
So make sure you have latest.
just updated, still not working :/ Here's a link. https://dl.dropboxusercontent.com/u/1916165/position.framer.zip
btw, yeah i figure you're pretty slammed this week, so no worries if you don't get to it.
I think this deserves an easy and transparent solution. Adding the device container shouldn't effect my event handling — this makes me anxious. Maybe because all the math involved doing parallaxes and dragging events is always creating a knot in my head already, I don't want to work around the fact that a layer.on "click' event does not return reliable pointer results that work in relation with the clicked element
Johannes Eckert I have the utmost confidence that the framer team will fix this in time.
Ahh... So this is what's causing the problems I was posting about. Hopefully I can use it too. Agree though 100%. Just adding a container shouldn't affect anything.
btw. if you aren't trying to use HammerJS, the correct way to get the event X,Y is to use event.offsetX and event.offsetY.