Slider Inside Scrollview?

We’re trying to put a slider inside of a scroll view. Here’s the issue:

The slider reacts to touches anywhere on the slider, but touches only have an effect if they are on the handle.

The Scrollview does not scroll in we’re touching the slider.

The result is that many of our attempts to scroll fail without anything moving or happening.

We tried giving focus back to the scroll view but the slider doesn’t have a event.x and event.y in its move, so it throws an error.

How can we have reliable scrolling with sliders?

Post your code. I think you need to cheat a little, but it’s certainly possible.

The slider is consuming the touch event.  It’s probably possible to hack the code to only allow the slider to consume move’s that are more x movement than y.  Engineering is going to consider this a feature request and probably not a high priority addition.  You have two choices:

1.  Go to http://feedback.coronalabs.com and put in a feature request for this and get it voted up.

2.  Down load the open source repository from github:  and customize your own slider to have the behavior that you want.

Rob

FYI I removed your duplicate post.

Post your code. I think you need to cheat a little, but it’s certainly possible.

The slider is consuming the touch event.  It’s probably possible to hack the code to only allow the slider to consume move’s that are more x movement than y.  Engineering is going to consider this a feature request and probably not a high priority addition.  You have two choices:

1.  Go to http://feedback.coronalabs.com and put in a feature request for this and get it voted up.

2.  Down load the open source repository from github:  and customize your own slider to have the behavior that you want.

Rob

FYI I removed your duplicate post.