Skip to content

Conversation

@lukewalczak
Copy link
Member

Motivation

This PR resolves an issue with the Card component's elevation handling.
Previously, elevation was applied via styles, which works for the old Material Design system, but in MD3, it needs to be set directly using the elevation prop.

Related issue

Fixes: #4714

Test plan

Tested on both Expo SDK 52 and 53 - with react-native 0.77.2 and 0.79.2
Run the android app, pressed the Card in all 3 modes - the crash doesn't occur.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak merged commit 3a6dfde into main May 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Card component breaks on expo 53.0.0 and react-native 0.79.2 (Android only)

2 participants