galex08/16/2022, 10:24 AM
s and we hide and show those depending on some conditions. I wonder how to manage correctly the "next button" of the keyboard 🤔 If a
, when not visible, is it part of the composition still or not? Will the keyboard go to the next one?
Stylianos Gakis08/16/2022, 11:30 AM
will not exist in composition after it has animated out. But during animating in or out it will be, so that may be tricky in some cases. What have you tried so far? Is it not working now? This seems to be the official documentation of how to handle focus and next/previous items yourself. https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusProperties.
Doris Liu08/16/2022, 6:11 PM
is removed from the tree once the exit animations are finished. If your goal is to skip the content that is being animated out, you'll need to handle the focus yourself. The focus system doesn't have any idea which item is transient and disappearing.
galex08/17/2022, 7:25 AM