Nativebase: Weird dot appears when I use JS expression on Android

Created on 5 Sep 2017  路  2Comments  路  Source: GeekyAnts/NativeBase

Weird dot appears when I use JS expression in JSX on Android
It's working fine on iOS



screen shot 2560-09-05 at 4 37 45 pm

I've used these packages
"native-base": "^2.3.1",
"react": "16.0.0-alpha.12",
"react-native": "0.47.2"

bug

All 2 comments

Dots disappear if uppercase is passed as false.This happens because the Text takes uppercase prop from Button component where its default value is true
Try this

        <Footer>
          <FooterTab style={{ backgroundColor: "#FFFFFF" }}>
            <Button />
            <Button>
              <Text uppercase={false}>
                {5 + 1} of {6}
              </Text>
            </Button>
            <Button />
          </FooterTab>
        </Footer> 

@napatwongchr Fixed in version 2.3.3

Was this page helpful?
0 / 5 - 0 ratings