Skip to content

Swipe the botomsheet presented on botomsheet #27

@VGrokhotov

Description

@VGrokhotov

I found a strange behaviour, that if botomsheet is presented on botomsheet and we swipe the top one down, both will be dismissed. But if we tap on shadow or call dismiss of top one by ourselves, everything will be alright.

I guess the reason is this method of BottomSheetPresentationController:
image

The tap works with such a way:
image

Looks like in startInteractiveTransition the presenting controller dismisses, so the both bottomsheets dismisses. Can you please change the behavier to dismiss only presented bottomshet? All my tries failed 😞

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions