conorhastings / react-native-syntax-highlighter

a syntax highlighter for react native using https://github.com/conorhastings/react-syntax-highlighter under the hood
MIT License
167 stars 25 forks source link

Error while updating property `display` on Android #1

Closed stefanoeb closed 7 years ago

stefanoeb commented 7 years ago

Seems like Android native <HorizontalScrollView> element doesn't like to receive display: 'block' styles, and therefore is throwing an error. image

I'm not sure what to do to fix that, since on iOS seems to work just fine

conorhastings commented 7 years ago

I don't think we rely on the display property on either os so we can probably just remove it in the generateNewStylesheet function