compose-multiplatform
compose-multiplatform copied to clipboard
SelectionContainer crashed when right click space area
Describe the bug See 'To Reproduce' Affected platforms
- Desktop (Windows, Linux, macOS)
Versions
- Libraries:
- Compose Multiplatform version: 1.6.11
- Navigation Multiplatform version (for related issues):
- ...
- Kotlin version: 1.9.23
- OS version(s) (required for Desktop and iOS issues):
- OS architecture (x86 or arm64):
- Device (model or simulator for iOS issues):
- JDK (for desktop issues):
To Reproduce Steps to reproduce the behavior:
- Run this code snippet:
@Composable fun BugReproduction() { SelectionContainer { Text("aaaa",Modifier.background(androidx.compose.ui.graphics.Color.White).padding(40.dp)) } } - Right click on space area
- See error
Expected behavior No action instead of crash occuring
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.