joelekstrom / JEKScrollableSectionCollectionViewLayout

A UICollectionView flow layout with individually scrollable sections
MIT License
73 stars 16 forks source link

change data source, contentSize width smaller #8

Open XavierLost opened 5 years ago

XavierLost commented 5 years ago

change data source,There is a rolling range problem,The screen keep out

joelekstrom commented 5 years ago

Hi, I don’t understand. Could you try to explain the issue better, maybe with a video or screenshots?

XavierLost commented 5 years ago
wechat649a9cf4f7c7b62b47710988d723c968

1546823632858165

joelekstrom commented 5 years ago

Thanks! What happens after the reload animation - do you call reloadData on the collection view, or are you reloading the sections separately?

XavierLost commented 5 years ago

show ( https://user-images.githubusercontent.com/24632295/50744290-e6347700-125c-11e9-9fa1-ce3dd0c255db.gif ), Already reloadData,It doesn't completely roll to the right,You can see the GIF

jNoxx commented 1 year ago

Hey Joel,

I love this library, but I have the same issue aa this Issue-owner. I’d gladly pay you to fix 2 bugs I have with the Library since all the rest works near flawless. If in dataSource 1, I have 6 items in a horizontal row. And in datasource 2: 8. I won’t be able to scroll past 6 items. Other way around the same, which can even cause my entire section to go offscreen. Very annoying issue. The other one is (worse), after a reload, some collectionviewcells aren’t clickable anymore. The Didselectitematindex won’t be called aymore. And that’s super weird. Like I said, I’d gladly pay you (plenty) if you can help me out.

joelekstrom commented 1 year ago

@jNoxx Sorry for a slow response! Could you possibly make a small sample project that demonstrates the issues your are seeing? That would help a lot and I can take a look at what the problem is.

For clarification - does dataSource 1 and 2 power the same collection view but are different data sources, or do you mean different sections with a single data source?