Buttons in scrollView prevent scrolling

I have a “scrollView” with buttons in it. The problem is the “scrolling” action doesn’t happen unless I touch in an empty area inside the “scrollView” and not on the buttons themselves which is very difficult when each button almost takes the entire width of the screen. 

Is there a workaround for that?

Hi Abdo23: this is what the scrollView “takeFocus” method is for. There is sample code that should help you in the documentation page for this method: https://docs.coronalabs.com/api/type/ScrollViewWidget/takeFocus.html

Thanks a lot. I will try this.

Hi Abdo23: this is what the scrollView “takeFocus” method is for. There is sample code that should help you in the documentation page for this method: https://docs.coronalabs.com/api/type/ScrollViewWidget/takeFocus.html

Thanks a lot. I will try this.