Describe the bug
When I implement BottomNavigation following the guidelines on Google, it crashes when switching between tabs on iOS and desktop, while it works fine on Android.
Affected platforms
Desktop (Windows, Linux, macOS)
iOS
Versions
Kotlin version*: 1.9.23
Compose Multiplatform version*: 1.6.10-dev1596
Navigation version*: 2.8.0-dev1596
OS version(s)* (required for Desktop and iOS issues):
OS architecture (x86 or arm64): x86
Device (model or simulator for iOS issues): simulator iPhone 15 17.4
Describe the bug When I implement BottomNavigation following the guidelines on Google, it crashes when switching between tabs on iOS and desktop, while it works fine on Android.
Affected platforms
Versions
To Reproduce
When switching between tabs 1, 2, 3, 4, it crashes when switching from tabs 2, 3, 4 back to tab 1. Expected behavior It works like on Android.
Screenshots