riteshhgupta / TagCellLayout

Made in Swift - Tag layout for UICollectionView supporting 3 types of alignments - Left || Centre || Right
MIT License
358 stars 36 forks source link

Multiline not working #19

Open jofvr opened 6 years ago

jofvr commented 6 years ago

Hello,

I have a problem with your class TagCelLayout, in iPhone 5S, the multiline not working.

capture d ecran 2018-07-20 a 12 04 00

I see that the collection view width is not representative to the reality with iPhone 5s in the function shouldMoveTagToNextRow. It work perfectly on iPhone 6s.

If you need more informations, please contact me :)

riteshhgupta commented 6 years ago

Hey @jofvr, I tried couple of combinations on iPhone 5S with different/same tag sizes but it seems to work for me. Can you share your project or some code related to how your are configuring your collectionview?

jofvr commented 6 years ago

Hi, I forget to precise, my CollectionView is in a TableViewCell. Tell me if you can reproduce the bug with this information.