Skip to content

fix: check for pointerEvents in both props and styles #1799

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

Merged

Conversation

hassankhan
Copy link
Contributor

Summary

This allows users to test components that use pointerEvents in styles instead of props. Required for react-navigation/react-navigation#12693

Test plan

Related tests were copied and modified sopointerEvents is specified in style instead of props.

### Summary

This allows users to test components that use `pointerEvents` in styles instead of props. Required for react-navigation/react-navigation#12693

### Test plan

Related tests were copied and modified so`pointerEvents` is specified in `style` instead of props.
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.25%. Comparing base (5cd1602) to head (9c432b5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1799      +/-   ##
==========================================
- Coverage   95.38%   95.25%   -0.14%     
==========================================
  Files          94       94              
  Lines        5244     5247       +3     
  Branches      892      569     -323     
==========================================
- Hits         5002     4998       -4     
- Misses        242      249       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@mdjastrzebski mdjastrzebski left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR!

@mdjastrzebski mdjastrzebski merged commit cc1e249 into callstack:main Jul 22, 2025
7 checks passed
@hassankhan hassankhan deleted the @hassankhan/pointer-events-styles branch July 22, 2025 17:36
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