-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SPOS reordering crash / header reuse issue + prep 14.0.3 #531
Conversation
…fferent types of headers. The wrong ObjectIdentifier was being compared and stored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual fix is in here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Note: I'm gonna follow up with an automated test for this, but want to get this landed before branch cut.)
[Main]: https://github.com/square/Listable/compare/13.1.0...main | ||
[Main]: https://github.com/square/Listable/compare/14.0.3...main | ||
[14.0.3]: https://github.com/square/Listable/square/14.0.2...14.0.3 | ||
[14.0.2]: https://github.com/square/Listable/square/14.0.1...14.0.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These weren't added in the prior releases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
https://block.atlassian.net/browse/UI-5594
Fix a crash that could occur during cell reuse if a list contained different types of headers. The wrong
ObjectIdentifier
was being compared and stored. I'm surprised this ever worked – but it seems like some timing changed (maybe when we dropped iOS 14?) that this wasn't hit nearly as frequently – it's now pathological for any list with different header types.Checklist
Please do the following before merging:
Main
section.