Skip to content

Comments

Add ComposePanel.redispatchUnconsumedMouseWheelEvents flag#2659

Merged
m-sasha merged 1 commit intojb-mainfrom
m-sasha/ComposePanel-scroll-wheel-api
Jan 5, 2026
Merged

Add ComposePanel.redispatchUnconsumedMouseWheelEvents flag#2659
m-sasha merged 1 commit intojb-mainfrom
m-sasha/ComposePanel-scroll-wheel-api

Conversation

@m-sasha
Copy link

@m-sasha m-sasha commented Dec 24, 2025

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
Author

m-sasha commented Dec 24, 2025

Two reviewers as it adds a new API

@m-sasha
Copy link
Author

m-sasha commented Dec 24, 2025

Added task to remove experimental status.

@m-sasha m-sasha force-pushed the m-sasha/ComposePanel-scroll-wheel-api branch from 08390f8 to d1a2400 Compare January 5, 2026 12:09
@m-sasha m-sasha merged commit 6db899f into jb-main Jan 5, 2026
34 of 36 checks passed
@m-sasha 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