Calf icon indicating copy to clipboard operation
Calf copied to clipboard

Bottom Sheet recomposes entire content If its slightly dragged without fully dismissing

Open nilufer32 opened this issue 1 year ago • 2 comments

In the Adaptive Bottom Sheet specifically the iOS implementation, placing any content inside the sheet causes the content to recompose if I slightly drag the sheet downwards and let it snap back to its original height without dismissing it. What I did exactly was I used the Adaptive Bottom Sheet in my iOS module and placed a WebView inside it [also from calf]. dragging the sheet and letting it go back to its original height recomposes the webview inside which causes my webview to reload. Here's a small code snippet:

AdaptiveBottomSheet(
                    onDismissRequest = {  },
                    adaptiveSheetState =
                        rememberAdaptiveSheetState(),
                ) {
                    WebView(
                        state = state,
                    )
                }

nilufer32 avatar Mar 13 '24 12:03 nilufer32

update: this issue arises due to jetbrains compose version 1.6.0. older versions do not have this bug. any plans to address the issue?

nilufer32 avatar Mar 19 '24 11:03 nilufer32

Hi Thanks for reporting this issue. I will check it out.

MohamedRejeb avatar Mar 21 '24 18:03 MohamedRejeb

Can you try with the latest version 0.5.3, it should be fixed now.

MohamedRejeb avatar Aug 20 '24 16:08 MohamedRejeb