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

What is Framer? Join the Community
Return to index
Sune Lorem
Posted Jun 23 - Read on Facebook

So, having this problem... First album in the horizontal scroller is active and has 2 states ("down" and "default"), when i press down on TouchStart the "down" states is triggered and goes back to "default" upon TouchEnd.

However when I press down and slide of the button/hit area the "down" state stays active... How can I make sure that the button returns to "default" when I'm outside of the hit area?

2 Comments

Sune Lorem

Does anyone have an idea how to solve this? The down state stays stuck on TouchEnd outside the hit area. — not sure I want to make if/else statements for every instance (and not sure how one of those would look like).

Sune Lorem

GOT IT — guess I just needed some time and no stress... I added a onSwipe event that makes it return to the default state.

Read the entire post on Facebook