Skip to content
New issue

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

Support split-screen behavior #1826

Open
falk-stefan opened this issue May 5, 2024 · 0 comments
Open

Support split-screen behavior #1826

falk-stefan opened this issue May 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@falk-stefan
Copy link

Feature Request

Add or support split-screen behavior.

Why it is needed

I was actually looking for a component which would allow me to have a divider which is splitting the screen in two. The react-native-bottom-sheet has all the required behavior except for the fact that the backdrop content cannot be configured to grow and shrink with the remaining content.

Possible implementation

Not sure how to implement this in the current state.

Code sample

<BottomSheet 
    backdropComponent={() => <View className="bg-red-700 h-full w-full"></View>}
    splitScreen>
    <View className="bg-blue-700 h-full w-full"></View>
</BottomSheet>
@falk-stefan falk-stefan added the enhancement New feature or request label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant