Skip to content

Conversation

@kevinherdez
Copy link
Collaborator

There's some weird stuff going on with the Collapsible component from react-native-collapsible and it not rendering correctly on Android. There was a patch fix that was applied, but, for some reason, it doesn't work when the view that has the CollapsedCard component is shown as a part of the top tab navigator that's on the ForecastScreen.

Specifically, it fails to render correctly when the card is a part of a view that is not the initial screen for the tab navigator.

This work around makes it so that the cards are collapsed on Android by default for the cards that are in the WeatherTab. The AvalancheTab doesn't have this issue because it's the initial screen. This is not a permanent fix as the issue is fixed with the New Architecture enabled

@kevinherdez kevinherdez added this pull request to the merge queue Feb 2, 2026
Merged via the queue into NWACus:main with commit 5cfc046 Feb 2, 2026
5 checks passed
@kevinherdez kevinherdez deleted the kevinherdez/androidCollapsibleCard branch February 2, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant