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

Touchables positioned outside of the view are not tappable #33

Open
ehynds opened this issue Jun 15, 2021 · 3 comments
Open

Touchables positioned outside of the view are not tappable #33

ehynds opened this issue Jun 15, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ehynds
Copy link

ehynds commented Jun 15, 2021

Hi there, thanks for the great library.

I have a TouchableOpacity nested inside ContextMenu that's absolutely positioned to fall 50% outside of the view, as depicted in this screenshot (notice the comment bubble in the top-right -- the ContextMenu is the grey part):

image

The only part of the touchable that responds to a touch event is the part of the view that's visibly inside the ContextMenu. The remaining 50% of the touchable that falls outside the bounds of ContextMenu doesn't respond at all. Here's a recording of the issue:

Kapture.2021-06-15.at.16.00.06.mp4

Is there a way to workaround this?

Thanks!

@mpiannucci
Copy link
Owner

This is crazy! The UIView that the context menu wraps controls the bounds of the preview showing, so there must be something weird happening with the layout clipping. Are all the touchables child views or are you using absolute? A reproducible simple example I can test with would go a long way

@mpiannucci mpiannucci added the bug Something isn't working label Apr 18, 2022
@mattpilleul
Copy link

Hi ! No news ?

@aBabken
Copy link

aBabken commented Jul 12, 2024

Without any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants