KEMBAR78
Make PointerEventResult aware of anyChangeConsumed state besides anyMovementConsumed by eymar · Pull Request #2186 · JetBrains/compose-multiplatform-core · GitHub
Skip to content

Conversation

@eymar
Copy link
Member

@eymar eymar commented Jun 18, 2025

Change PointerEventResult (marked as @InternalComposeUiApi) implementation to include the information about anyChangeConsumed besides anyMovementConsumed using the bitmask.

This fix is possible now after https://android-review.googlesource.com/c/platform/frameworks/support/+/3633065 is merged to our fork.

Fixes https://youtrack.jetbrains.com/issue/CMP-7520/CfW-back-gesture-interferes-with-Horizontal-Scroll

Testing

Added the tests for new properties.

Release Notes

Fixes - Web

  • Fixed an unexpected back gesture after a horizontal scroll.

@eymar eymar requested a review from MatkovIvan June 18, 2025 09:50
@eymar eymar merged commit 64cd2c7 into jb-main Jun 18, 2025
10 checks passed
@eymar eymar deleted the ok/extend_pointereventresult branch June 18, 2025 14:18
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.

2 participants