uias / Pageboy

📖 A simple, highly informative page view controller
MIT License
1.98k stars 154 forks source link

Stop pageBoyVC swipe gestures when subview has swipe gestures. #259

Open WestFlow127 opened 3 years ago

WestFlow127 commented 3 years ago

I have a WebView a few levels down the hierarchy of the pageBoyVC that uses a swipe gesture on Instagram embeds that have multiple pictures. I don't see a clear way to tell the pageBoyVC to not swipe when swiping the WebView.

There should be a way to access the gestures of the PageViewVC.

abbas-mulani commented 3 years ago

I have a WebView a few levels down the hierarchy of the pageBoyVC that uses a swipe gesture on Instagram embeds that have multiple pictures. I don't see a clear way to tell the pageBoyVC to not swipe when swiping the WebView.

There should be a way to access the gestures of the PageViewVC.

Try with pageBoyVC.bounces = false

WestFlow127 commented 3 years ago

That did not work. But thanks for the thought. @abbas-mulani

kaushalrola commented 1 year ago

Hi,

This can be done by setting isScrollEnabled on the TabmanViewController 🙂.