How to prevent scrolling feature from jumping?

I have a help menu that the user scrolls down to see. When testing on the device, I’ve found that if you attempt to do a quick scroll down, the screen “jumps” to the bottom of the scroll page. However this doesn’t happen if you slowly scroll down the screen. Is it a sensitivity issue?

All ideas welcome

Hi Nate.  I think you’re going to have to provide more information and a better description.  What version of Corona SDK are you using?  How are you constructing the scrolling area?  Perhaps post some code?

Rob

Sure thing! Version 2012.840 (2012.06.19)

Basically when giving a quick upward flick of your finger on the screen it “jumps” and seemingly collides with the bottom limit of the scroll view (jump meaning it skips past the other images (or maybe too fast to even notice) and goes straight to the bottom). Rather I would have it smoothly scroll down and eventually run out of momentum before slowly come to a stop depending on the length/power of your flick. 

[lua]local widget = require “widget”

local scroller = widget.newScrollView{

   – width = 320,

    --height = 480,

    scrollWidth = display.contentWidth,

    scrollHeight = display.contentHeight*2,

    hideBackground = true

}

scroller.content.horizontalScrollDisabled = true

local obj1 = display.newImage (“part1.png”)

obj1:setReferencePoint (display.TopCenterReferencePoint)

infoGroup:insert(obj1)

obj1.x = display.contentWidth/2

obj1.y = display.contentHeight/20

scroller:insert (obj1)

[/lua]

and repeat for 5 more images

Hi @Nate112,

The version of Corona you’re using is extremely old (almost 2 years) and I suggest that you upgrade a.s.a.p. to a newer version. In a version as old as #840, some things just cannot be guaranteed to work as intended.

Best regards,

Brent

The built in scroll widget is not that smooth… check out this forum post http://forums.coronalabs.com/topic/42131-in-g2-scrollview-is-not-that-smooth/?p=234442

Hi Nate.  I think you’re going to have to provide more information and a better description.  What version of Corona SDK are you using?  How are you constructing the scrolling area?  Perhaps post some code?

Rob

Sure thing! Version 2012.840 (2012.06.19)

Basically when giving a quick upward flick of your finger on the screen it “jumps” and seemingly collides with the bottom limit of the scroll view (jump meaning it skips past the other images (or maybe too fast to even notice) and goes straight to the bottom). Rather I would have it smoothly scroll down and eventually run out of momentum before slowly come to a stop depending on the length/power of your flick. 

[lua]local widget = require “widget”

local scroller = widget.newScrollView{

   – width = 320,

    --height = 480,

    scrollWidth = display.contentWidth,

    scrollHeight = display.contentHeight*2,

    hideBackground = true

}

scroller.content.horizontalScrollDisabled = true

local obj1 = display.newImage (“part1.png”)

obj1:setReferencePoint (display.TopCenterReferencePoint)

infoGroup:insert(obj1)

obj1.x = display.contentWidth/2

obj1.y = display.contentHeight/20

scroller:insert (obj1)

[/lua]

and repeat for 5 more images

Hi @Nate112,

The version of Corona you’re using is extremely old (almost 2 years) and I suggest that you upgrade a.s.a.p. to a newer version. In a version as old as #840, some things just cannot be guaranteed to work as intended.

Best regards,

Brent

The built in scroll widget is not that smooth… check out this forum post http://forums.coronalabs.com/topic/42131-in-g2-scrollview-is-not-that-smooth/?p=234442