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.87k stars 1.15k forks source link

Focus behavior while mouse/touch interactions on different platforms #3508

Closed dima-avdeev-jb closed 1 month ago

dima-avdeev-jb commented 1 year ago

Figure out how to make focus onClick feature device-dependent (Mouse/Touch/Keyboard) instead of platform dependent (Desktop/iOS/Android)

Take a look at this PR: https://github.com/JetBrains/compose-multiplatform-core/pull/757

Also, take at usage of function https://github.com/JetBrains/compose-multiplatform-core/blob/033e69f0c9464c50d255e99e06504824d11e93a2/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/focus/FocusRequesterModifierNode.kt#L39

And function https://github.com/JetBrains/compose-multiplatform-core/blob/033e69f0c9464c50d255e99e06504824d11e93a2/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/focus/FocusRequester.kt#L62

igordmn commented 1 month ago

Moved to https://youtrack.jetbrains.com/issue/CMP-5814/Review-Request-focus-on-click-feature

okushnikov commented 1 week ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov commented 1 week ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.