Scrollview diagonal movement

Is there any way to make the widget scrollView scroll in all directions like a native iOS scrollView? If not is there a library/plugin you can purchase for this feature? I’ve been looking everywhere but found nothing so far. Feels like a very fundamental thing to have for a scrollView

Thanks!

To scroll horizontally you need to set the horizontalScrollDisabled to false (default: false) and give the scroll view a scrollWidth (default: 0). If there is nowhere for it to scroll to it will not scroll - this is true for vertical and horizontal scrolling.

Hi Horace, I want it to scroll diagonally as well, not just in one direction or the other. Has this not been implemented yet? It’s the way the native scrollViews work on iOS and Android. Thanks!

native.newScrollView() currently does not support diagonal scrolling. It’s in engineering’s queue of things to do, but we have to clear higher priority items first. 

The code for the widgets is open source and available at: https://github.com/coronalabs/framework-widget

It’s all Lua code, so you could download it and implement it yourself.

Rob

I’ve tried but unfortunately I’m too much of a novice to get it done. If anyone is able to I would happily pay for a lib like this and it could be kept on the Corona store for others who are in need to pay for it as well. I need it so badly.

Thanks for response Rob!

To scroll horizontally you need to set the horizontalScrollDisabled to false (default: false) and give the scroll view a scrollWidth (default: 0). If there is nowhere for it to scroll to it will not scroll - this is true for vertical and horizontal scrolling.

Hi Horace, I want it to scroll diagonally as well, not just in one direction or the other. Has this not been implemented yet? It’s the way the native scrollViews work on iOS and Android. Thanks!

native.newScrollView() currently does not support diagonal scrolling. It’s in engineering’s queue of things to do, but we have to clear higher priority items first. 

The code for the widgets is open source and available at: https://github.com/coronalabs/framework-widget

It’s all Lua code, so you could download it and implement it yourself.

Rob

I’ve tried but unfortunately I’m too much of a novice to get it done. If anyone is able to I would happily pay for a lib like this and it could be kept on the Corona store for others who are in need to pay for it as well. I need it so badly.

Thanks for response Rob!