forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing clicks inside
SelectionContainer
(#1106)
## Proposed Changes - Do not recreate modifier nodes on focus change - Buttons inside `DisableSelection` now clickable. Before it receives only second click - Do not consume UP events if there were no drag before - Buttons inside `SelectionContainer` now clickable, but text inside them is still selectable - `SelectionManager.hasFocus` now `true` if any of it's children is focusable - `onClearSelectionRequested` now triggers on consumed click on focusable, non-selectable child ## Testing Test: `Selection` page in mpp ## Issues Fixed Fixes JetBrains/compose-multiplatform#1450
- Loading branch information
1 parent
adabe82
commit 6b4ea61
Showing
4 changed files
with
93 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters