+1
Answered
Better detection for onswiperight/left
I am using a web view in our app that loads a url, which is essentially an article with title/text/image, and can be variable height. When I swipe right or left on the web view, I want to load the next article from an RSS feed. I have this working just fine, however, the detection of the onswipe is a bit picky. I understand why this is, because it's unsure if the user is trying to view more text or swipe to the next article. Is there a better method to detect this event and allow the swipe to occur a little more natural?
0
icahill (Administrator) 12 aastat tagasi
have you already added bounces="no" to your web view? This will make the scrolling a little smoother.
0
mrcole13 12 aastat tagasi
Yeah, bounces="no" is set for the web view.
0
icahill (Administrator) 12 aastat tagasi
Unfortunately short of locking the webview from scrolling, there isn't much you will be able to do here. You could consider adding arrows on each side that have onclickups instead, but the UI of that might not be desirable.
0
mrcole13 12 aastat tagasi
That's what I figured, but wanted to make sure I wasn't missing anything. I'll look over my options and see what may work best. Thanks!
Customer support service by UserEcho