Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Android): pressables under sheets dimming view intercept gesture events #2740

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Feb 26, 2025

Description

Regression introduced in 4.9.0, when adding backward compatibility in #2730. I've inverted the logical condition checking whether
dimming view blocks gestures and returned PointerEvents.AUTO when it wasn't supposed do block.

This PR fixes the condition.

Fixes #2738

Test code and steps to reproduce

Enhanced TestFormSheet so that it allows to verify that it works correctly now.

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

@kkafar kkafar merged commit 96990ba into main Feb 26, 2025
3 of 4 checks passed
@kkafar kkafar deleted the @kkafar/2738-dimmingview-does-not-block-pressables branch February 26, 2025 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.

Pressing on formSheet's backdrop gets intercepted by the Pressable item behind backdrop
1 participant