Watch this http://youtu.be/GJSV5DLLvE8
[lua]
local scrollView = widget.newScrollView
{
…
horizontalScrollDisabled = true,
verticalScrollDisabled = false,
…
}
[/lua]
If the scrolling is not just y direction (eg 40° - 45°) then horizontal scrolling will be activated even if [lua]horizontalScrollDisabled = true[/lua]. This way vertical scrolling will be blocked until the finger is released. But this behavior should occur just in case of:
[lua]
local scrollView = widget.newScrollView
{
…
horizontalScrollDisabled = false,
verticalScrollDisabled = false,
…
}
[/lua] [import]uid: 138389 topic_id: 36521 reply_id: 336521[/import]
2013.1040 ScrollView Widget Bug
One more user encounter the same bug:
developer.coronalabs.com/forum/2013/03/02/20131040-scrollview-widget-bug [import]uid: 138389 topic_id: 36521 reply_id: 144891[/import]
Hey guys.
Sorry for the late reply, I was moving house from friday>sunday.
I have fixed this bug and the fix should be available in one of the next few daily builds. [import]uid: 84637 topic_id: 36521 reply_id: 144962[/import]
Thank you @Danny
One more question. Is there a way to disable drag effect in the scrollView eg when the bottom limit was reached ?
It’s very important.
http://i48.tinypic.com/ebehsh.png [import]uid: 138389 topic_id: 36521 reply_id: 144987[/import]
Hey Vovasoft,
Not at present but please file a feature request for that here: http://developer.coronalabs.com/content/bug-submission
And I will get the ability added asap. [import]uid: 84637 topic_id: 36521 reply_id: 144988[/import]
Done. [import]uid: 138389 topic_id: 36521 reply_id: 144992[/import]
2013.1040 ScrollView Widget Bug
One more user encounter the same bug:
developer.coronalabs.com/forum/2013/03/02/20131040-scrollview-widget-bug [import]uid: 138389 topic_id: 36521 reply_id: 144891[/import]
Hey guys.
Sorry for the late reply, I was moving house from friday>sunday.
I have fixed this bug and the fix should be available in one of the next few daily builds. [import]uid: 84637 topic_id: 36521 reply_id: 144962[/import]
Thank you @Danny
One more question. Is there a way to disable drag effect in the scrollView eg when the bottom limit was reached ?
It’s very important.
http://i48.tinypic.com/ebehsh.png [import]uid: 138389 topic_id: 36521 reply_id: 144987[/import]
Hey Vovasoft,
Not at present but please file a feature request for that here: http://developer.coronalabs.com/content/bug-submission
And I will get the ability added asap. [import]uid: 84637 topic_id: 36521 reply_id: 144988[/import]
Done. [import]uid: 138389 topic_id: 36521 reply_id: 144992[/import]
@Danny One important question: Is there a way to stop the scrollview when I tap on it while it is scrolling ?
Example: Then scrollview is scrolling, I press on it and it will stop but when I will release the finger it will still scroll some pixels even if I pressed down for a long time.
And there is also another bug: If the scrollview is scrolling and I tap once -> the scrollview will scroll for some amount of pixels and will stop but if I will tap again it will scroll one more time for some amount of pixels and I could continue this for infinite times.
So it is impossible to stop the scrollview at the position I clicked.
i see the same thing with “extra scrolling on release” during horisontal scrolling.
it also occurs with the scrollView:scrollToPosition method, if the “time” parameter is > 0
Yes i would like this feature as well! but for horizontal scrolling. left and right side.
@Danny One important question: Is there a way to stop the scrollview when I tap on it while it is scrolling ?
Example: Then scrollview is scrolling, I press on it and it will stop but when I will release the finger it will still scroll some pixels even if I pressed down for a long time.
And there is also another bug: If the scrollview is scrolling and I tap once -> the scrollview will scroll for some amount of pixels and will stop but if I will tap again it will scroll one more time for some amount of pixels and I could continue this for infinite times.
So it is impossible to stop the scrollview at the position I clicked.
i see the same thing with “extra scrolling on release” during horisontal scrolling.
it also occurs with the scrollView:scrollToPosition method, if the “time” parameter is > 0
Yes i would like this feature as well! but for horizontal scrolling. left and right side.
@Danny , I installed the latest daily build 2013.1064 and I noticed that if the Scroll View is scrolling and I tap on it then a tap event will be dispatched. Please make an option to disable this. Like the native scroll view if I tap during the scrolling it should stop without dispatching touch/tap events. This creates a lot of problems in our apps.
-
If I scroll and stop the finger in some position and then will take the finger from the sreen it will scroll for some pixels. You can wait as long as you want but when you take off you finger it will scroll for some pixels. It is very annoying because it will happen every time I scroll to some position.
-
Method to update scroll view height/width without removing it. (low priority, it can be done by changing _view._scrollHeight)
So there are 3 main requests:
1. Option to disable drag effect
2. Option to disable scroll view touch/tap events during scrolling
3. Fix extra scrolling
@Danny , I installed the latest daily build 2013.1064 and I noticed that if the Scroll View is scrolling and I tap on it then a tap event will be dispatched. Please make an option to disable this. Like the native scroll view if I tap during the scrolling it should stop without dispatching touch/tap events. This creates a lot of problems in our apps.
-
If I scroll and stop the finger in some position and then will take the finger from the sreen it will scroll for some pixels. You can wait as long as you want but when you take off you finger it will scroll for some pixels. It is very annoying because it will happen every time I scroll to some position.
-
Method to update scroll view height/width without removing it. (low priority, it can be done by changing _view._scrollHeight)
So there are 3 main requests:
1. Option to disable drag effect
2. Option to disable scroll view touch/tap events during scrolling
3. Fix extra scrolling