-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes, I have,
Environment
react-native -v
: 0.48.2node -v
: 8.1.4npm -v
: 5.0.3yarn --version
: 1.0.1
Then, specify:
- Target Platform:
Android 7.1.1
- Development Operating System: Windows 7 Service Pack 1 (Yes, ancient)
- Build tools: Standard Android Studio Emulator with VS Code running the packager.
Steps to Reproduce
- Create an instance of
TouchableOpacity
in your rootView
- Add an
elevation: 10,
style prop
Expected Behavior
On other components, a level 10 shadow would create a fairly noticeable shadow.
Actual Behavior
When a level 10 elevation is applied to a TouchableOpacity
, the shadow is so faint it's almost indiscernible from the background. If you try to increase the elevation, the behaviour is even stranger. Once the elevation exceeds 30, the barely distinguishable shadow we had before disappears completely. In a word, I'd say the shadows are about 10x less pronounced than on other components. For no apparent reason.
Reproducible Demo
One the move currently; will post an Expo Snack when I get home.
Metadata
Metadata
Assignees
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.