Navigating to bottom sheet and touching the sheet as it opens results in ANR
See original GitHub issueI have an empty screen with a box and a clickable modifier.
onClick = {
if (navController.currentDestination!!.route != "bottom_sheet") {
navController.navigate("bottom_sheet")
...
This works fine 99% of the time unless the user presses on the bottom sheet while it’s opening. The bottom sheet cannot be dismissed which results in an ANR. It’s a “little” tricky to repro because you have to click quickly, but here’s a video of it in action.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
android - NavigationComponent navigation within a ...
Can Android's Navigation Component be used for navigation WITHIN a BottomSheet (i.e. replacing/adding fragments within a single bottom sheet)?.
Read more >Interact programmatically with the Navigation component
The Navigation component provides ways to programmatically create and interact with certain navigation elements.
Read more >Introducing Navigation-Material 🎨️ | by Jossi Wolf - Medium
You can navigate to bottom sheets just like any other destination: You can navigate away from bottom sheet destinations as usual, or the...
Read more >Modal Bottom Sheet in Android with Examples - GeeksforGeeks
Now create a bottom_sheet_layout.xml file and add the following code. Here we design the layout of our Modal Bottom sheet. It has a...
Read more >Thrips - How to Manage Pests - UC IPM
Stippling as result of greenhouse thrips feeding. ... gently shaking foliage or flowers onto a light-colored sheet of paper, beating tray, or small...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Repro: