Stop bounce on scrollview

Is there anyway to stop a scrollview from bouncing when it’s dragged to its limit?

Basically I have a vertical scrollview which works great but if I scroll all the way to the bottom or top of the scrollview you get to see beyond the background image and it just shows a white background, of course as soon as you lift your finger off the scrollview snaps to the correct position.

I know in Objective-C there’s a method that stops the bounce effect and the scrollview will just stop at its bounds without any bounce effect.

Thanks [import]uid: 107915 topic_id: 34580 reply_id: 334580[/import]

You could have an enterFrame listener checking the position of the scrollView and force it if it exceeds your threshold. Though if you don’t want inertia either you’re probably better off just using a masked display group.

CoronaLabs have said that a lot of work is going into the widgets so you might want to just wait and see if that option turns up. [import]uid: 8271 topic_id: 34580 reply_id: 137508[/import]

You could have an enterFrame listener checking the position of the scrollView and force it if it exceeds your threshold. Though if you don’t want inertia either you’re probably better off just using a masked display group.

CoronaLabs have said that a lot of work is going into the widgets so you might want to just wait and see if that option turns up. [import]uid: 8271 topic_id: 34580 reply_id: 137508[/import]

For future users looking for this, you can set the param isBounceEnabled = false in the scrollview params.

For future users looking for this, you can set the param isBounceEnabled = false in the scrollview params.