umarmansuri / mobiscroll

Automatically exported from code.google.com/p/mobiscroll
0 stars 0 forks source link

Plus/minus buttons cause scrolling twice #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(some copied from identical isssue 
http://code.google.com/p/mobiscroll/issues/detail?id=68&can=1&q=twice )

What steps will reproduce the problem?
1. Create a date scroller with plus and minus buttons.
2. Press the buttons.
3. Reels scroll two times instead of one

What is the expected output? What do you see instead?
The Number should always increment/decrement by one. But often they 
increment/decrement twice.

What version of the product are you using? On what operating system?
Latest Mobiscroll 2.2, on Android 4.0, 4.2 and other 4.x devices

Please provide any additional information below.
Problem existed in 2.0.1, updated to 2.2 and problem persisted. Happens on 
every click of the buttons on Nexus 7 tablet running Android 4.2

Original issue reported on code.google.com by loveni...@gmail.com on 27 Nov 2012 at 8:50

GoogleCodeExporter commented 9 years ago
This works as intended. If you hold your finger on the +/- buttons, the wheels 
are scrolled until touchend.
The default interval is 300ms (meaning that if the tap is longer than that, it 
will scroll 2 or more values), but you can change it through the 'delay' option 
if you don't like it:

$('#test').scroller({
  preset: 'date',
  delay: 1000,
});

Original comment by diosla...@gmail.com on 28 Nov 2012 at 12:34

GoogleCodeExporter commented 9 years ago
Thanks for your reply. I beg to differ that it works as intended. In the case 
of the tablet, every single tap results in a scroll of at least two units, 
instead of one. So no matter the length of the tap, the scroller moves twice. I 
will be changing it in my version but it is definitely an issue on an Android 
Nexus 7 table inside of a Android WebView.

Original comment by loveni...@gmail.com on 28 Nov 2012 at 3:40

GoogleCodeExporter commented 9 years ago
I confirm the bug, on Nexus 7 running Android 4.2. 

Set delay to a longer time doesn't resolve the problem, still scrolls twice on 
a single tap.

I'm using also jQuery Mobile 1.2.0 final and Cordova 2.1.0.

Original comment by pierre.a...@gmail.com on 12 Dec 2012 at 3:52

GoogleCodeExporter commented 9 years ago
Checking it...

Original comment by diosla...@gmail.com on 13 Dec 2012 at 10:27

GoogleCodeExporter commented 9 years ago
Issue 118 has been merged into this issue.

Original comment by diosla...@gmail.com on 13 Dec 2012 at 10:28

GoogleCodeExporter commented 9 years ago
Fixed in 2.4.2

Original comment by diosla...@gmail.com on 22 Feb 2013 at 11:17

GoogleCodeExporter commented 9 years ago
Hi, first post here. 

Experiencing this bug with 
MobiScroll v2.7.0 
Device - Samsung  GT-P1000
OS - Android 2.2.3 (Gingerbread.XWJP9). 

Original comment by alexande...@gmail.com on 20 Sep 2013 at 9:56

GoogleCodeExporter commented 9 years ago
Just experienced this bug with MobiScroll 2.6.2 on three different Android 
tablets running 4.2.2. 
Tested with default browser as well as UC browser - both had the same behavior. 

Was this fixed in 2.4.2 and then broken again in later versions? 

Original comment by soltr...@gmail.com on 19 Dec 2013 at 6:31