This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Benjamin E Saravia
Posted Oct 08 - Read on Facebook

Help framers,
I can make this work on Chrome and Safari...
BUT it won't work on any mobile (ie: Safari Mobile) ... it just won't 'detect any change on my dragging layer.
Source: http://share.framerjs.com/lxijqefg2cfi/
* Any pointers will be appreciated !

This will detect a change, but it's not the same behaviour:
if Utils.isMobile
Final = InitialValue - (event.point.y).toFixed(0)
else
Final = InitialValue - event.y

1 Comments

Niels van Hoorn

Hi Benjamin,

Nice prototype you got there! There are a couple of ways to do this, one is to use event.pointY instead of event.y. That works on both mobile and desktop environments: http://share.framerjs.com/be7lcplnz4xy/

Let me know if you have any further questions!

Read the entire post on Facebook