Skip to content

Conversation

jankalfus
Copy link
Contributor

I fixed missing button shadow on Android 5+. It uses elevation style available in React Native. I had to add bottom margin to make it visible. The bottom margin might brake the look on iOS, I haven't tested it on iOS. Somebody, please, test it on iOS :) and tell me if it's ok... But I think it should be allright.

This was referenced Aug 23, 2016
@mastermoo
Copy link
Owner

I tested in on iOS. It does not break the component, but it pushes the button a bit to the top. Why did give exactly 12 points margin bottom and not more or less? Is there a way to make it visible without adding margin?

@jankalfus
Copy link
Contributor Author

It seemed like 12 points was the right amount. I've tried playing around a little bit with the number now and it seems like 10 is the minimum until the shadow gets cropped. Unfortunately, I don't think there's a way to make it visible without adding the margin. Maybe you can shift the button a little bit to the bottom by the size of the margin?

@mastermoo
Copy link
Owner

check out v2.0.0, i mentioned to in the commit.
I'll close this PR. Thanks @jankalfus

@mastermoo mastermoo closed this Aug 23, 2016
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.

2 participants