-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Reader: Recalculate cell height when Discover tab is reloaded #21888
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
Conversation
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21888-35e0101 | |
| Version | 23.5 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | 35e0101 | |
| App Center Build | WPiOS - One-Offs #7544 |
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21888-35e0101 | |
| Version | 23.5 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | 35e0101 | |
| App Center Build | jetpack-installable-builds #6574 |
wargcm
left a comment
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.
It appears this introduces a new issue:
large-you-might-like.mp4
|
Ah good catch @wargcm. Since this is a workaround anyway, I will look into this and try to find a better solution. I'll target 23.6 instead. |
|
I'm going to bump this to the next release because we'll be code freezing 23.7 today and this is still a draft. |
|
I'm going to bump this to the next release because we'll be code freezing 23.8 today and this is still a draft. @dvdchr just checking in on this, since it's been a draft with not activity for a few weeks. Is this still relevant? |
|
Hi @mokagio, thanks for moving the milestone. This is an issue that I encountered back during beta, but the solution in this PR introduced side effects — and I didn't have time to work on a proper fix to address the issue. I'll set the milestone to |
This is necessary to get up to date with a CI configuration change that requires running on Xcode 15.1. See #22270
|
Hey @dvdchr 👋 You might notice a merge Don't hesitate to ping me if there's any trouble. |


Fixes #21867
The new recommended tags card somehow doesn't refresh the cell's height on
reloadData, which gets called after switching tabs. This PR fixes it with a workaround, by forcing the table view to update it's cell height by callingbeginUpdatesand followed withendUpdatesimmediately on the main queue.To test
Regression Notes
Potential unintended areas of impact
The Discover tab will now be forced to re-render its cells' height when reloaded.
What I did to test those areas of impact (or what existing automated tests I relied on)
Manually tested the changes.
What automated tests I added (or what prevented me from doing so)
N/A.
PR submission checklist:
RELEASE-NOTES.txtif necessary.UI Changes testing checklist: