cesardeazevedo / react-native-bottom-sheet-behavior

react-native wrapper for android BottomSheetBehavior
MIT License
1.16k stars 114 forks source link

FAB missed icon and became transparent #32

Open andrewworld opened 7 years ago

andrewworld commented 7 years ago

This bug shows periodically:

screenshot_20171104-135710

cesardeazevedo commented 7 years ago

Hi, can you post your code and the com.android.support:design version?

andrewworld commented 7 years ago

"com.android.support:appcompat-v7:25.3.1"

<FloatingActionButton
     rippleEffect={true}
     icon={'add-shopping-cart'}
     iconProvider={Icon}
     autoAnchor
     iconColor={Constants.color.WHITE}
     onPress={() => {}}
     backgroundColor={Constants.color.PRIMARY}/>
cesardeazevedo commented 7 years ago

if you're using BottomSheetHeader, you might missing the backgroundColorExpanded prop, am i right? if you're not using it, what you mean with periodically? when exactly the FAB turns transparent?

andrewworld commented 7 years ago

I don't use BottomSheetHeader here. Sometimes FAB turns transparent just after I run application, and it become normal after I rerun app.

cesardeazevedo commented 7 years ago

I am unaware of any issue like this to be honest, so if you find any pattern that you are sure that will always occurs this issue, or any race condition or provide a sample that i could easily reproduce, i would really appreciate to take a look at it.

Thanks.