google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.43k stars 598 forks source link

[Navigation Material] Bottom Sheet Destination Not Showing #1509

Closed vinipazzini closed 1 year ago

vinipazzini commented 1 year ago

Description The issue is that the Bottom sheet is not being displayed, when trying to open it a second time

Steps to reproduce Steps are:

  1. Tap on "Add New" button
  2. Tap on the Text field in order to open the softkeyboard
  3. Tap on "action_cancel" button
  4. Tap on "Add New" button again

Expected behavior Bottom sheet should be displayed a second time

Additional context Jetpack Compose version: '1.4.0-alpha05'

Android Studio Electric Eel | 2022.1.1 Build #AI-221.6008.13.2211.9477386, built on January 11, 2023

Kotlin version: '1.8.0'

Sample to Reproduce https://github.com/vinipazzini/BottomSheetDestinationNotShowing

might be related to: https://github.com/google/accompanist/issues/1503

jibe-n commented 1 year ago

I'm experiencing the same behavior #1499

vinipazzini commented 1 year ago

investigating further I found that it works using the following combination of dependencies: accompanist = "0.28.0" androidx-compose = "1.4.0-alpha02"

while with the ones below it does not work: accompanist = "0.29.1-alpha" androidx-compose = "1.4.0-alpha05"

leinardi commented 1 year ago

This is still happening with the latest compose 1.4.0-alpha06.

jossiwolf commented 1 year ago

Thanks for the report! This is a duplicate of #1499, please follow along there.