Skip to content

fix: pointer events bug in static charts#3

Merged
e-younan merged 1 commit intomainfrom
fix/pointer-events-bug
Feb 1, 2026
Merged

fix: pointer events bug in static charts#3
e-younan merged 1 commit intomainfrom
fix/pointer-events-bug

Conversation

@e-younan
Copy link
Copy Markdown
Member

@e-younan e-younan commented Feb 1, 2026

Description

Sets pointerEvents to none on static chart canvas containers so Skia-drawn lines no longer intercept taps; buttons and pressables receive touches.

Motivation and Context

In newer versions of Skia, components seem to be intercepting taps, causing issues with touchable elements (e.g., Pressable) not having their onPress's register.

How Has This Been Tested?

Manually on the porfoli app.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have followed the guidelines in the README.md file.
  • I have updated the documentation as necessary.
  • My changes generate no new warnings.

Highlights:
- Set pointerEvents="none" on static chart canvas containers so
  Skia-drawn lines no longer intercept taps; buttons and pressables
  receive touches.
@e-younan e-younan merged commit 6abc104 into main Feb 1, 2026
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.

1 participant