Disable vertical scroll on a bi-directional scrollview
I have a bi-directional scrollview working on a Landscape mode, on orientation switch, i need to disable the vertical scroll. How do you prevent the scrollview from moving vertically?
Thanks
Daniel
1 Answer
-
Answer to my own question.
If there's method/function to set scrollview.verticalscroll = false would be easily.
Anyway I solved my problem with contentHeight lower or equal to its wrapped content height, that prevent the vertical scrolling.
To enable the vertical scrolling on orientation change, increase the contentHeight.