Skip to content

Add ComposePanel.redispatchUnconsumedMouseWheelEvents flag#2659

Merged
Alexander Maryanovsky (m-sasha) merged 1 commit into
jb-mainfrom
m-sasha/ComposePanel-scroll-wheel-api
Jan 5, 2026
Merged

Add ComposePanel.redispatchUnconsumedMouseWheelEvents flag#2659
Alexander Maryanovsky (m-sasha) merged 1 commit into
jb-mainfrom
m-sasha/ComposePanel-scroll-wheel-api

Conversation

@m-sasha

@m-sasha Alexander Maryanovsky (m-sasha) commented Dec 24, 2025

Copy link
Copy Markdown

Add ComposePanel.redispatchUnconsumedMouseWheelEvents flag to control the behavior on a per instance level.

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

Testing

Changed the existing mouse-wheel propagation tests to use this flag and to verify that propagation doesn't occur when it's false.

Release Notes

Features - Desktop

  • It is now possible to configure the mouse-wheel propagation-to-parent behavior per ComposePanel via ComposePanel.redispatchUnconsumedMouseWheelEvents flag.

@m-sasha

Copy link
Copy Markdown
Author

Two reviewers as it adds a new API

@m-sasha

Alexander Maryanovsky (m-sasha) commented Dec 24, 2025

Copy link
Copy Markdown
Author

Added task to remove experimental status.

@m-sasha Alexander Maryanovsky (m-sasha) force-pushed the m-sasha/ComposePanel-scroll-wheel-api branch from 08390f8 to d1a2400 Compare January 5, 2026 12:09
@m-sasha Alexander Maryanovsky (m-sasha) merged commit 6db899f into jb-main Jan 5, 2026
34 of 36 checks passed
@m-sasha Alexander Maryanovsky (m-sasha) deleted the m-sasha/ComposePanel-scroll-wheel-api branch January 5, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants