uias / Pageboy

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

Horizontal UICollectionview scroll doesn't work in a Pageboy ViewController for the first time #257

Open sajib-ghosh-iOS opened 3 years ago

sajib-ghosh-iOS commented 3 years ago

I have a UICollectionview inside a Viewcontroller which is added as Pageboy. But when I try to scroll the collection view it doesn't work first time, it goes to the next pageboy view controller, when I come back from the viewcontroller then the Collectionview scroll works.

Is there any solution for this?

Thanks

sugitatestblue commented 2 years ago

same to me.

but parent view is UIScrollViewController.

MainasuK commented 2 years ago

That's happend when nest the Tabman/Pageboy into a vertical scroll view. I'm not sure that's an UIKit bug or framework issue.

There is a demo to nest the XLPagerTabStrip into a UIScrollView. It's works without touch delay issue at the first time.

https://github.com/OfTheWolf/TwitterProfile

sugitatestblue commented 2 years ago

@MainasuK Thank you but it is not resolution. We want to resolve without XLPagerTabStrip module.

sugitatestblue commented 2 years ago

@sajib-ghoshInnofied Did you resolve?

sugitatestblue commented 2 years ago

Are the Pageboy module still maintenance?

sugitatestblue commented 2 years ago

Finally replaced Parchment.

https://github.com/rechsteiner/Parchment