Native Swipe Up and Swipe Down (to Scroll) in mobile screen

Native Swipe Up and Swipe Down (to Scroll) in mobile screen

  

Hello all,

i want to ask about native swipe up action and swipe down action

Case:

so, i implement a Swipe Events widget into my screen, like this:

the SwipeEventsSwipeLeft client action preview:

So, i want my application to go back to previous screen when i swipe left.


Problem:

In the widget where i implement the Swipe Events, i can't scroll (Swipe up and Swipe down) my screen.


Speculation:

The Swipe Up and Swipe down action in Swipe Events are empty.


Question:

What is the default or native swipe up and swipe down event (so i can normally scroll up and down my screen), and is that any other way to do this?


Thank you!

Hi Joshua,

Maybe I'm not understanding what you want... but... what does the user have to do in the device that distinguish the swipe down from the scroll down? It's the point of departure?

Cheers,

José

José Costa wrote:

Hi Joshua,

Maybe I'm not understanding what you want... but... what does the user have to do in the device that distinguish the swipe down from the scroll down? It's the point of departure?

Cheers,

José

Hello José,

In my case, there is no difference between swipe down and scroll down. It's like normal or native swipe up and swipe down function. 

But the problem is: the swipe events widget overlap the normal or native swipe up and swipe down function. So i can't do the normal or native swipe up and swipe down function. I guess, it's happen because the swipe up and swipe down Event handler in the swipe events widget are empty. So what i need to know is: what is the normal or native action of swipe up and swipe down?


Thanks!

Hi Joshua,

In SwipeUp and SwipeDown client actions, we can integrate jQuery or Javascript swipe events as per our need.
Or if you want just scrolling, then Javascript scroll functions you can use inside your action as per your need.

Check out below link for reference:
https://github.com/blackdynamo/jquerymobile-swipeupdown/blob/master/lib/jquerymobile-swipeupdown.js

- Thanks

Solution

Palak Patel wrote:

Hi Joshua,

In SwipeUp and SwipeDown client actions, we can integrate jQuery or Javascript swipe events as per our need.
Or if you want just scrolling, then Javascript scroll functions you can use inside your action as per your need.

Check out below link for reference:
https://github.com/blackdynamo/jquerymobile-swipeupdown/blob/master/lib/jquerymobile-swipeupdown.js

- Thanks

Hello Palak,

Thanks for your reply, i will try it for my application later if there is another problem. But for now, i already got a solution from: https://www.outsystems.com/forums/discussion/32839/unable-to-scroll-down-a-list-while-also-using-swipeevents-on-the-list-mobile-app/#Post144486

Thanks!


Solution

Joshua Benaya wrote:

Palak Patel wrote:

Hi Joshua,

In SwipeUp and SwipeDown client actions, we can integrate jQuery or Javascript swipe events as per our need.
Or if you want just scrolling, then Javascript scroll functions you can use inside your action as per your need.

Check out below link for reference:
https://github.com/blackdynamo/jquerymobile-swipeupdown/blob/master/lib/jquerymobile-swipeupdown.js

- Thanks

Hello Palak,

Thanks for your reply, i will try it for my application later if there is another problem. But for now, i already got a solution from: https://www.outsystems.com/forums/discussion/32839/unable-to-scroll-down-a-list-while-also-using-swipeevents-on-the-list-mobile-app/#Post144486

Thanks!


Hi Joshua,

Great to see you got solution.
Keep coding...

Regards,
Palak