Repository navigation
Show provider content again on Android TV - #45
Merged
Merged
Conversation
#43 set removeClippedSubviews={false} on the content browser list but not on the loading skeleton list. React reuses the skeleton's native list for the real one, and flipping the flag on it drops every tile, so every provider showed an empty grid. Set it on both lists so it never changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #43 (shipped over the air on Nov 17), every provider's content browser can come up as an empty grid on Android TV: the header shows but no tiles. Reproduced on an Android TV API 36 emulator with Awana and The Bible Project. The browse call returned 2 and 20 items, and React rendered the cells, but nothing was mounted on screen.
Cause: #43 added
removeClippedSubviews={false}to the content list, but the loading skeleton list in the same spot keeps Android's default (true). React reuses the skeleton's native list for the real one, so the flag flips fromtruetofalseon an existing view, and that drops its children.Fix: set
removeClippedSubviews={false}on the skeleton list too, so the flag never changes. This keeps #43's protection against the "Invalid clipping state" crash.Testing:
jest: 134 pass.tschas the same 2 errors asmain.JS only, so the EAS Update workflow ships it over the air on merge.
🤖 Generated with Claude Code