Skip to content

bug: Android: sheet collapses on resize if content change triggered simultaneously #689

@allthetime

Description

@allthetime

Hi!

I ran into an issue on Android. My use case is a sheet with dynamic content. It sits persistent on the UI in a collapsed but visible state at detent 0. I have it overlaid on a map and selecting some marker can set a variety of content to be displayed in the sheet. We do .resize(1) to open the sheet up and display the content. This works great on iOS, but on Android the sheet begins to resize and then immediately closes back to detent 0 upon the resize + content change.

Anyways, I've prepared a fix:

main...allthetime:react-native-true-sheet:main

LMK if I can upgrade to a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions