Skip to content

Add isClearFocusOnMouseDownEnabled configuration in CfW#2781

Merged
Oleksandr Karpovich (eymar) merged 1 commit into
jb-mainfrom
ok/add_isClearFocusOnMouseDownEnabled
Feb 19, 2026
Merged

Add isClearFocusOnMouseDownEnabled configuration in CfW#2781
Oleksandr Karpovich (eymar) merged 1 commit into
jb-mainfrom
ok/add_isClearFocusOnMouseDownEnabled

Conversation

@eymar

Copy link
Copy Markdown
Member

Introduces isClearFocusOnMouseDownEnabled to configure whether mouse clicks outside focused elements clear focus.

Fixes https://youtrack.jetbrains.com/issue/CMP-9324

Testing

Added additional tests to ensure that setting isClearFocusOnMouseDownEnabled affects the behaviour.

Release Notes

Features - Web

  • Add isClearFocusOnMouseDownEnabled in ComposeViewportConfiguration to configure the focus behaviour on mouse press

Introduces `isClearFocusOnMouseDownEnabled` to configure whether mouse clicks outside focused elements clear focus.

Fixes https://youtrack.jetbrains.com/issue/CMP-9324

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eymar Oleksandr Karpovich (eymar) merged commit 4e293f2 into jb-main Feb 19, 2026
27 of 28 checks passed
@eymar Oleksandr Karpovich (eymar) deleted the ok/add_isClearFocusOnMouseDownEnabled branch February 19, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants