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

App crashes when the react-native-vimeo-iframe leave the viewport #59

Open
husnaintahir opened this issue May 5, 2023 · 2 comments
Open
Labels
information requested Extra information is needed

Comments

@husnaintahir
Copy link

I have this strange problem on android, i-e if I have a scroller in place and when I try to scroll to the react-native-vimeo-iframe and go more below until react-native-vimeo-iframe is out of view port, the app crashes.

PS: It's working fine on iOS.

@Marcoo09
Copy link
Contributor

Marcoo09 commented May 5, 2023

Hi @husnaintahir, are you wrapping the Vimeo component in a ScrollView?
If yes, could you try by putting overScrollMode='never' as explained here?

@Marcoo09 Marcoo09 added the information requested Extra information is needed label May 5, 2023
@alan-la-chen-478
Copy link

Still happens to me when adding overScrollMode, but adding another prop works for me. According to this source: meliorence/react-native-render-html#605 (comment)

I have <Vimeo height={height} videoId={id} overScrollMode="never" androidLayerType="software" />

tried both software and hardward, both works and app no crash. not sure what the difference is, but if it works, then i'm good with either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information requested Extra information is needed
Projects
None yet
Development

No branches or pull requests

3 participants