Augustyniak / RATreeView

Library providing easy-to-use interface for displaying tree structures on iOS and tvOS.
MIT License
2.49k stars 465 forks source link

Final cell has a jerky collapse animation #199

Open tallandy opened 7 years ago

tallandy commented 7 years ago

The very last cell always seems to collapse in a non-smooth way. I've uploaded a video to YouTube to highlight the issue better: Link to video

Augustyniak commented 7 years ago

Thanks for reporting it! 👍

I'm not sure but it looks like a problem with UIKit.

tallandy commented 7 years ago

I had a quick go at fixing it but didn't have any success. I thought it might have been something to do with the footer at first... but it wasn't.

If you come up with a workaround let me know :)

mikelgs commented 7 years ago

You can play with rowsExpandingAnimation and rowsCollapsingAnimation to "resolve" this. The problem appears when it is set to RATreeViewRowAnimationNone. Hope it helps

tallandy commented 7 years ago

Thanks @mikelgs I will give that a try