Assigned
Status Update
Comments
ys...@google.com <ys...@google.com> #2
BasicSwipeToDismissBoxNavHost
includes the following via BasicSwipeToDismissBox
which didn't make it to PredictiveBackNavHost
repeat(2) {
val isBackground = it == 0
key(if (isBackground) backgroundKey else contentKey) {
if (!isBackground || (userSwipeEnabled && isSwiping)) {
HierarchicalFocusCoordinator(requiresFocus = { !isBackground }) {
st...@google.com <st...@google.com>
st...@google.com <st...@google.com> #3
Please add a description of the problem - I've watched the video, but it isn't clear what the issue is - thanks.
Description
Component used: SwipeDismissableNavHost Version used: 1.5.0-alpha09 Devices/Android versions reproduced on: Emulator API 35
Use wear-os-samples ComposeStarter with latest alphas.
Logging added herehttps://github.com/yschimke/wear-os-samples/commit/10eae5e555fb7cee04f6f22f142725ab65ce445f
The problem is that RSB scrolling stops working when you start a swipe to dismiss and then abort.
During the (finally aborted) swipe to dismiss, you have two screens visible, and the greeting screen gets focus while in the background.
It never returns to the foreground.
but I think the lack of focus handling is the root issue