We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting handleComponent to null breaks the bottom sheet.
handleComponent
expand
snapTo
backdropComponent={BottomSheetBackdrop}
When using following props bottom sheet displays nothing when it is expanded
<Button title="Expand" onPress={() => ref.current?.expand()} /> <BottomSheet ref={ref} index={-1} snapPoints={[0, '50%']} handleComponent={null}> <Text>test<Text> </BottomSheet>
handleComponent={null}
ref.current?.expand()
Describe what you expected to happen:
When you call expand method the bottom sheet should be visible.
When using following props backdrop is visible but bottom sheet displays nothing
<BottomSheet ref={ref} index={1} snapPoints={[0, '50%']} handleComponent={null} backdropComponent={BottomSheetBackdrop}> <Text>test<Text> </BottomSheet>
Bottom sheet should be visible and display text. Backdrop doesn't block rest of the screen.
See above section for the used props.
The text was updated successfully, but these errors were encountered:
@mskri: hello! 👋
This issue is being automatically closed because it does not follow the issue template.
Sorry, something went wrong.
thanks @mskri for spotting and submitting this issue
this should be resolved with v2.0.5 & v3.2.1 🎉
Just confirmed the fix. Thanks a ton!
gorhom
Successfully merging a pull request may close this issue.
Bug
Setting
handleComponent
to null breaks the bottom sheet.expand
andsnapTo
methods to not make bottom sheet visiblebackdropComponent={BottomSheetBackdrop}
to propsEnvironment info
Steps To Reproduce
Bottom sheet not displaying properly
When using following props bottom sheet displays nothing when it is expanded
handleComponent={null}
ref.current?.expand()
=>
expand
method does not make bottom sheet visibleDescribe what you expected to happen:
When you call
expand
method the bottom sheet should be visible.Backdrop showing when using initial index that should show bottom sheet
When using following props backdrop is visible but bottom sheet displays nothing
expand
)Describe what you expected to happen:
Bottom sheet should be visible and display text. Backdrop doesn't block rest of the screen.
Reproducible sample code
See above section for the used props.
The text was updated successfully, but these errors were encountered: