NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

FAB backgroundColor android

Open dominic3 opened this issue 9 years ago • 14 comments

react-native: 0.46.4 react: 16.0.0-alpha.12 native-base: 2.3.1 Only affects Android

Expected Behavour: Background color of main FAB button should match color in style prop.

Actual Behavour: Background color of main FAB button is blue

                 <Fab
                    active={this.state.splitFabActive}
                    position="bottomRight"
                    style={{backgroundColor: '#000000'}}
                    onPress={() => this.setState({ splitFabActive: !this.state.splitFabActive })}
                  >
                    <Icon name={(this.state.splitFabActive?"close":"albums")} />
                    <Button style={{ backgroundColor: colors.headerBackground }} onPress={() => this._addSplit() }>
                        <Icon name="add" />
                    </Button>
                    <Button style={{ backgroundColor: '#666' }} onPress={() => this._removeSplit() }>
                        <Icon name="trash" />
                    </Button>
                  </Fab>

dominic3 avatar Aug 01 '17 20:08 dominic3

is this issue fixed? i am facing the same issue in android

shivenj avatar Aug 08 '17 11:08 shivenj

Same here, blue background color...is this issue fixed ?

mgaueca avatar Aug 08 '17 11:08 mgaueca

Same thing here too. Do you have any idea when this will be fixed ?

ssavinel avatar Aug 08 '17 12:08 ssavinel

Same issue here. On iOS works properly. On Android the color don't change.

vitormartins1 avatar Aug 10 '17 01:08 vitormartins1

Same problem, what about fix? @shivrajkumar

pedrogarciyalopez avatar Aug 11 '17 20:08 pedrogarciyalopez

He fixed it but didn't release yet For now I required it directly from master like this "native-base": "GeekyAnts/NativeBase",, working fine

williamoliveira avatar Aug 17 '17 00:08 williamoliveira

Hello - we hit the same bug. Do you have a plan to issue a release that will contain that fix ?

philjoseph avatar Sep 07 '17 10:09 philjoseph

Is this going to be fixed?

MHaendel avatar Sep 08 '17 13:09 MHaendel

Facing same problem here. Can't change the color of Fab.

vgabdala avatar Sep 08 '17 16:09 vgabdala

For me, I installed directly from Git which may not be ideal, but it includes the fix untill they issue another release:

npm install --save native-base@https://github.com/GeekyAnts/NativeBase

dominic3 avatar Sep 08 '17 16:09 dominic3

It does not work npm install --save native-base@https://github.com/GeekyAnts/NativeBase because components folder does not exist anymore. Guess I will have to drop Fab for now.

TitanKing avatar Sep 14 '17 07:09 TitanKing

Same problem here, do you have any plans to solve?

FelipeBohnertPaetzold avatar Sep 20 '17 00:09 FelipeBohnertPaetzold

I hit the same problem also. It would be really appreciated if any fixes can release for us. =)

crossRT avatar Oct 03 '17 14:10 crossRT

@crossRT @FelipeBohnertPaetzold @TitanKing @dominic3 @vgabdala @MHaendel @philjoseph This has been fixed and released. Check v2.3.2

shivrajkumar avatar Oct 04 '17 10:10 shivrajkumar