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

What is Framer? Join the Community
Return to index
Tom Jenkins
Posted Nov 15 - Read on Facebook

I'm trying to get the equivalent to 'mouseout' for a Framer project. Tried including mobile jquery 'vmouseout' with no success so far. Any plans to support 'touchout' in Framer? Any other suggested solutions? Thanks

6 Comments

Cemre Güngör

Touchend, you mean?

Tom Jenkins

I want to hide a downstate when a touch moves out of a view's rect rather than ends on it, is that possible?

Cemre Güngör

Oh sure. Listen to the touchmove event (could be touchchange) which keeps firing as you move your finger, then do a change if the position of the touch is outside the bounds

Tom Jenkins

$('html').on('touchmove', function() {
console.log('outside test');
})
PSD.test.on('touchmove', function(event){
event.stopPropagation();
console.log('over test');
})

Tom Jenkins

Promising. Works on desktop but not touch, or Android at least.

Read the entire post on Facebook