Status Update
Comments
wh...@gmail.com <wh...@gmail.com> #2
This is affecting CameraView as well.
[Deleted User] <[Deleted User]> #3
il...@google.com <il...@google.com> #4
jo...@jossiwolf.de <jo...@jossiwolf.de> #5
A fix has been applied for most cases in Alpha08 (Dec 18th release), however we are keeping this open for a more robust fix to come. Thanks.
il...@google.com <il...@google.com>
de...@gmail.com <de...@gmail.com> #7
Bugjuggler:
pa...@gmail.com <pa...@gmail.com> #8
il...@google.com <il...@google.com> #9
Bugjuggler: wait until next month
ap...@google.com <ap...@google.com> #10
jb...@google.com <jb...@google.com> #11
na...@google.com <na...@google.com> #12
This will be included in the Alpha10 release. Marking as fixed. Thanks!
d....@gmail.com <d....@gmail.com> #13
gs...@gmail.com <gs...@gmail.com> #14
I guess the release that addresses this is actually:
androidx.compose.material:material-navigation:1.7.0-alpha04
As #13 said, we are missing this for Material3 bottom sheets.
I see that there's another issue tracking that here:
v....@temper.works <v....@temper.works> #15
Some guidance about usage would be very welcome. I get java.lang.IllegalStateException: Could not find Navigator with name "bottomSheet". You must call NavController.addNavigator() for each navigation type.
crash and can't find any proper example of this new extension usage:
Scaffold(
bottomBar = {...}
) { innerPadding ->
NavHost(
navController,
startDestination = "explore_graph",
Modifier.fillMaxSize()
) {
// nested graphs
bottomSheet("profile_bottom_sheet") { // CRASHES
Text("Bottom Sheet", Modifier.padding(16.dp))
}
}
}
}
}
}
}
I use androidx.compose.material:material-navigation:1.7.0-beta01
, but my project is material3, could it be the reason?
il...@google.com <il...@google.com> #16
Re
val bottomSheetNavigator = rememberBottomSheetNavigator()
val navController = rememberNavController(bottomSheetNavigator)
If you don't use those lines, you'd get that error message.
Description
Version used: 1.0.0-alpha06
It would be useful to integrate with BottomSheetScaffold so we could treat bottom sheets as navigation destinations. For example, I could call `navController.navigate(someBottomSheetRoute)` to launch a bottom sheet.