cesardeazevedo / react-native-bottom-sheet-behavior

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

call FAB's show/hide method cause 'undefined is not a object' error #37

Closed coinicon72 closed 6 years ago

coinicon72 commented 6 years ago

I think the root cause is at line 87 of FloatingActionButton.js:

UIManager.BSBFloatingActionButton.Commands[command],

should be: UIManager.BSBFloatingActionButtonAndroid.Commands[command],

Thank for your great works!!

cesardeazevedo commented 6 years ago

Thanks for report, i pushed a fix at 1.0.0-beta.8