-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Margin affects padding inside button (0.54.2) sdk 26 #18911
Comments
I created issue on expo board first. They pointed to several commits in React Native repo. |
Only Happens with margin declared with a percentage and it stills happens in react-native v0.55.3 |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
I just verified that this issue is still present in v0.57.0. |
I also still have this issue. |
This is not just an Android issue; as the erroneously-closed #19164 indicates. I'm experiencing it as well on iOS. |
This only appears to apply for percentage margins, not integer margins: |
I was still able to reproduce this on react-native 0.59.1. |
Is there somebody who'd like to send a PR with a fix for this issue? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
This is still an issue, as the Snack I linked above demonstrates. EDIT: forgot to update Expo SDK version (and thus React Native version). Retesting... |
Just tested it again with Expo SDK 32 and 34. Same (still broken) behavior in both (tested iOS). Interestingly, the behavior is correct in expo-web. |
Still broken |
Still broken! |
I can't understand why this is still in the same state without a single higher up reckon this issue or give some info about it! |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Is it fixed now? |
@garronej Version |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
@Stale It hasn't been fixed, please leave it open. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
I think this is fixed in react v0.62. You can verify online that the snack in the original bug report is broken in Expo v37 (react-native 0.61) and fixed in Expo v38 (react-native 0.62). (You have to test in iOS or Android mode, not web mode.) Skimming the changelog, I think that 1d683fa was the fix. |
Closing this because it's been fixed in 0.62 according to @artdent. Thanks |
Environment:
OS: OS X El Capitan 10.11.6
Node: 8.4.0
Yarn: 1.3.2
npm: 4.6.1
Watchman: 4.7.0
Xcode: Xcode 8.2.1 Build version 8C1002
Android Studio: 2.2 AI-145.3537739
Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: https://github.com/expo/react-native/archive/sdk-26.0.0.tar.gz => 0.54.2
Steps to Reproduce
1 - uncomment marginTop
Expected Behavior
Actual Behavior
Reproducible Demo
https://snack.expo.io/SJhhndX3G
This is happening after updating to React native 0.54.2
The text was updated successfully, but these errors were encountered: