callstack / callstack/masked-view

Oddly shaped MaskedView with touchable mask area

Open
#217 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
131
PR merge metrics
No merged PRs in 30d

Description

I am trying to make oddly shaped MaskedView components only touchable where the mask is present and not where it is not present. However, I can only seem to get a touchable area on the square bounding box of a componenet instead.

I have the following mask making use of `react-native-svg`'s Svg and Path components with a circle as a mask:
```jsx



}
>

This is some text.

```

In the above, both the interior and outside of the circle are touchable. Is it even possible?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.