rsktash

    rsktash

    1 year ago
    Hi, why rememberModalBottomSheetState ’s parameter confirmStateChange is called only when sheet is being hidden? When state changes to Expanded it’s not triggered
    matvei

    matvei

    1 year ago
    That sounds like a bug to me. If you create a bug with a small repro sample that would be great, thanks!
    rsktash

    rsktash

    1 year ago
    Here is the source code. As you can see the state change is triggered only when half expanded or hidden
    matvei

    matvei

    1 year ago
    It's the code the defines the semantical actions on the bottom sheet for accessibility services. There should be no accessibility actions available if the bottm sheet is not visible, hence the
    if
    statement. Are you trying to close and expand bottom sheet via accessibility service like TalkBack?