ECSlidingViewController / ECSlidingViewController

Customizable sliding view controller container.
MIT License
4.32k stars 817 forks source link

UISlider in topviewController triggers revealing of underLeftViewController #111

Closed eralpkaraduman closed 11 years ago

eralpkaraduman commented 11 years ago

If I slide vertically on topViewController which contains an UISlider, it scrolls vertically with no problem, thats's perfect,

And if I slide horizontally underLeftViewConroller reveals, thats reasonable as well.

But, if I start to slide vertically and while holding move it horizontally both UISlider in topViewController slides vertically and underLeftViewController reveals as I move at the same time.

If I put a tableView in topViewController and do the same gesture, revealing of underLeftViewController gets blocked. I'd expect the same behaviour from UISlider too.

I'm not sure if it's directly ECSlidingViewController related as it works as I expected when I have a tableview on topview.

Do you know if there is a way to get UISlider behave as UITableView does to ECSlidingViewController?

Thanks.

enriquez commented 11 years ago

I'm not exactly sure what you mean, but if ECSlidingViewController's panGesture is conflicting, remember that it is simply a UIPanGesture instance. You may enable/disable it as needed.

enriquez commented 11 years ago

This PR #141 does what you want to do, but I wouldn't modify ECSlidingViewController to do it.