Page 1 of 1
Slider in a scroller
Posted: Tue May 06, 2014 4:41 pm
by ludo
Hello,
I've two horizontal sliders in the group. This group has a vertical scroller. I've only activated the vertical scroll for this scroller.
But i cannot use the slider smoothly : it stop after few movements (it's like the scroller intercept the movement).
I've put a sample stack to test the problem (tested under android emulator, bluestacks and a real android device).
Thanks
Re: Slider in a scroller
Posted: Tue May 13, 2014 4:02 pm
by splash21
Try experimenting with the following two properties via the mobileControlSet command...
• canCancelTouches (iOS Only) - Determines whether the scroller is allowed to cancel a touch that has been passed through to the underlying controls when it thinks it is a scroll gesture (maps to the UIScrollView canCancelContentTouches property).
• delayTouches (iOS Only) - Determines whether the scroller delays passing on touch-down events until it has determined whether it is the start of a scroll gesture or not (maps to the UIScrollView delaysContentTouches property). This is a boolean value.
I did a quick test by setting them both to false in your test stack. It works, but not if you move too quickly after the initial touch : the scroller steals the touch if it thinks you're trying to scroll - basically if your finger moves straight after touching. Since the mobile controls sit above the stack, I don't think it's possible to get the message before the scroller.
Re: Slider in a scroller
Posted: Wed May 14, 2014 1:52 pm
by ludo
Hello,
Thanks for your reply.
It seems MobGui is not the responsible.
I've filled a similar bug :
http://quality.runrev.com/show_bug.cgi?id=12419 which occur without mobgui.