JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.24k stars 1.11k forks source link

(iOS) Selection Container shows keyboard while selecting text #4986

Open mazunin-v-jb opened 1 week ago

mazunin-v-jb commented 1 week ago

Describe the bug If SelectionContainer contains Text and this Text is being selected, the keyboard will be shown

Affected platforms

Versions

To Reproduce Steps to reproduce the behavior: Run this code snippet:

   SelectionContainer {
  Text(text = "Hello World!")
   }

Expected behavior Keyboard shouldn't be opened while selecting Text in SelectionContainer

Screenshots

https://github.com/JetBrains/compose-multiplatform/assets/124871594/bbf63a8e-a2c7-497c-a803-f46dde678f22

Additional context Add any other context about the problem here.