Usage issue: RCTBottomSheetBehaviorAndroid.Commands
See original GitHub issueHello, In a new project, when trying the basic example in the readme, something like:
return (
<CoordinatorLayout style={styles.container}>
<View style={{ flex: 1, backgroundColor: 'transparent' }}></View>
<BottomSheetBehavior
ref="bottomSheet"
peekHeight={50}
hideable={true}
state={BottomSheetBehavior.STATE_COLLAPSED}>
<View></View>
</BottomSheetBehavior>
<FloatingActionButton ref="fab" />
</CoordinatorLayout>
);
I get the following error:
undefined is not an object (evaluating '_reactNative.UIManager.RCTBottomSheetBehaviorAndroid.Commands')
I have no idea where the issue is coming from.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
cesardeazevedo/react-native-bottom-sheet-behavior - GitHub
NOTE We expose some android core components such as CoordinatorLayout , AppBarLayout , FloatingActionButton , but they are NOT meant to be general...
Read more >BottomSheetBehavior - Android Developers
Gets the current state of the bottom sheet. Returns whether this bottom sheet should adjust it's position based on the system gesture area. ......
Read more >Disabling User dragging on BottomSheet - Stack Overflow
I ended up writing a workaround to address this use case of dynamically disabling user dragging, whereby BottomSheetBehavior is subclassed to ...
Read more >Android BottomSheet Example in Kotlin - GeeksforGeeks
When this bottom sheet is the open user will not be able to access the app's content. Users can at a time use...
Read more >react-native-bottom-sheet-behavior - npm
React Native wrapper for android BottomSheetBehavior. Latest version: 2.0.0, last published: 3 years ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It seems that you didn’t setup it correctly, did you follow the manually installation? did you made the changes on the
MainApplication.java
,android/app/build.gradle
andandroid/settings.gradle
?Yes, indeed, the recent break changes on react-native has been impossible to support old RN versions, i hope Pepperoni boilerplate update their react-native soon