Uh oh!
There was an error while loading. Please reload this page.
Fix StyleSheet 'textAlign' for AndroidTextInput. Closes #2702 - #4481
Fix StyleSheet 'textAlign' for AndroidTextInput. Closes #2702#4481hyugit wants to merge 6 commits into
Conversation
change `setTextAlign` and `setTextAlignVertical` to receive argument of type `String`, so that native props and stylesheet props are calling the same @ReactMethod - add demo (may not be necessary)
facebook-github-bot
commented
Dec 1, 2015
There was a problem hiding this comment.
you don't need a static block for this, you can just continue with this assignment on the line above
mkonicek
commented
Dec 2, 2015
Thanks for the review @kmagiera! |
remove textAlign and textAlignVertical from Android native props add textAlignVertical as Text Style Prop (Android only) add TEXT_ALIGN_VERTICAL as a view prop constant
facebook-github-bot
commented
Dec 5, 2015
@trave7er updated the pull request. |
hyugit
commented
Dec 7, 2015
@kmagiera , I updated the diff based on your comments. Some highlights of updates:
Let me know what you think. Thanks, |
kmagiera
commented
Dec 8, 2015
This looks very good. Thanks @trave7er ! I believe this should be marked as a breaking change and someone should update callsites in Fb internal apps. What needs to be done is just to move textAlign and textVerticalAlign out of view props and to the styles object cc @mkonicek |
mkonicek
commented
Dec 9, 2015
Adding to my TODO-list of PRs. |
hyugit
commented
Dec 11, 2015
was going to also update the docs, and found it's already updated. Thanks! Let me know if you need me to update anything, |
hyugit
commented
Dec 17, 2015
satya164
commented
Dec 27, 2015
@trave7er I think |
GantMan
commented
Jan 6, 2016
👍 on this one. I was able to put off the "Android Version" of an app to 2016, but I'd love |
christopherdro
commented
Jan 10, 2016
@trave7er Can you resolve the merge conflicts so we can try and get this merged in? |
Added Hyper-V Android Emulator Setup Instructions. Closes#3234
change `setTextAlign` and `setTextAlignVertical` to receive argument of type `String`, so that native props and stylesheet props are calling the same @ReactMethod - add demo (may not be necessary)
remove textAlign and textAlignVertical from Android native props add textAlignVertical as Text Style Prop (Android only) add TEXT_ALIGN_VERTICAL as a view prop constant
facebook-github-bot
commented
Jan 10, 2016
@trave7er updated the pull request. |
hyugit
commented
Jan 10, 2016
@christopherdro updated |
gr4yscale
commented
Jan 12, 2016
just ran into this issue myself - hoping this gets merged today! |
jsierles
commented
Jan 12, 2016
@trave7er Could you also squash commits? |
mkonicek
commented
Jan 12, 2016
Actually I think shipit squashes the commits, let's try it: @facebook-github-bot shipit |
facebook-github-bot
commented
Jan 12, 2016
Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/1662384200706003/int_phab to review. |
mkonicek
commented
Jan 12, 2016
Yup, looks squashed, landing now :) |
gr4yscale
commented
Jan 21, 2016
Any news on this? |
mkonicek
commented
Jan 21, 2016
I need to fix an internal failing test, will cherry-pick this to 0.19. |
mkonicek
commented
Jan 21, 2016
Merging again now. Please don't update the PR :) |
mkonicek
commented
Jan 22, 2016
🚀 |
Summary: change `setTextAlign` and `setTextAlignVertical` to receive argument of type `String` (the same as in `StyleSheet`), so that native props and stylesheet props are calling the same ReactMethod - add demo (may not be necessary) Closes#4481 Reviewed By: svcscm Differential Revision: D2823456 Pulled By: mkonicek fb-gh-sync-id: 349d17549f419b5bdc001d70b583423ade06bfe8
change
setTextAlignandsetTextAlignVerticalto receive argument of typeString(the same as inStyleSheet), so that native props and stylesheet props are calling the same @ReactMethod