ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

textAlign not work #236

Open smallnewer opened 5 years ago

smallnewer commented 5 years ago

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Environment: OS: macOS High Sierra 10.13.6 Node: 8.3.0 Yarn: 1.12.3 npm: 5.3.0 Watchman: 4.9.0 Xcode: Xcode 10.1 Build version 10B61 Android Studio: Not Found

Packages: (wanted => installed) react: 16.2.0 => 16.2.0 react-native: Not Found

Target Platform: macos

Steps to Reproduce

code like this

render () {
    return (
        <Text
            style={{marginTop:20,backgroundColor:"red",textAlign:"right"}}>
            {'hello~~'}
        </Text>
    )
}

屏幕快照 2019-03-25 下午6 02 35

aleclarson commented 5 years ago

Bug confirmed. This is fixed by #227!

text-align

smallnewer commented 5 years ago

App will crash when startup. I will retry when #227 be published^-^