Comment

Comment by EngVagabond

As I understand it, Android, the underlying system doesn’t provide support for shadows beyond setting elevation. 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-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.

parent EngVagabond 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton