Tobias Preuss
10/20/2024, 7:21 PMandroidx.compose.material3.SearchBar
in its expanded state in my Android project.
The screenshots shows what happens when a user performs the back gesture.
For some reason, the SearchBar
consumes the back gesture.
This prevents the user from leaving the screen at all. How can this be fixed?
https://stackoverflow.com/questions/79107654/how-to-fix-onbackpressed-for-an-expanded-material3-searchbarmarlonlom
10/21/2024, 3:39 AMTobias Preuss
10/21/2024, 7:15 PMBackHandler
in material3. Can you explain in more detail please?Tobias Preuss
10/21/2024, 7:20 PMmarlonlom
10/21/2024, 7:24 PMTobias Preuss
10/21/2024, 10:11 PMBackHandler { onViewEvent(OnBackPress) }
. The callback is not invoked though, when I perform the BACK gesture.Rajar
10/23/2024, 6:37 AMfalse
Tobias Preuss
10/23/2024, 8:12 PM