4 ms·
As I understand it, Android, the underlying system doesn’t provide support for shadows beyond setting elevation. https://developer.android.com/training/material
by EngVagabond 5y ago
As I understand it, Android, the underlying system doesn’t provide support for shadows beyond setting elevation. https://developer.android.com/training/material/shadows-clipping https://developer.android.com/training/material/shadows-clip...
React Native’s first principle is meeting user’s expectations of the platform. https://reactnative.dev/blog/2020/07/17/react-native-principles#native-experience https://reactnative.dev/blog/2020/07/17/react-native-princip...
Since the platform doesn’t provide shadow support, React Native can’t provide that support on Android either. React Native’s shadow API works for the platforms that do support it, like iOS, Windows, and macOS.
Disclaimer: I work on React Native.