I have a scrollview that I want to be locked vertically
local scrollView = widget.newScrollView { width = 400, height = 400, left = 0, top = 0, scrollWidth = 800, scrollHeight = 1200, verticalScrollDisabled = true }
When a button is pressed I want the whole scrollview to be locked so I use
scrollview:setIsLocked(true)
Then when the button is pressed again I need it to unlock the scrollview but keep the verticalScrollDisabled to true.
scrollview:setIsLocked(false)
But this code unlocks both axis, and it doesn’t seem to be a way to lock the vertical scrolling again.
This seems like it would be a bug? Any help would be appreciated.