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

touchableopacity not working with custom next button beside play/pause button IOS only #69

Open
sandeepkundu4344 opened this issue Jul 25, 2021 · 1 comment

Comments

@sandeepkundu4344
Copy link

I have an issue with my custom button that plays the next video, if I remove the marginTop from its style it works fine but if I allign it with the play/pause button using marginTop then touchableopacity onpress stop working in IOS only it worka fine in Android.
React native version: 0.63
IOS version: 14.5
iPhone 11

check the screenshot there are two custom buttons one is previous button and one is next button, next button onpress is working fine(because it is not aligned in same line with pause/play button) but previous button onpress is not working.

Screenshot 2021-07-25 at 4 12 16 PM

style for next button
`nextButtonMain: {
marginTop: 50,
marginLeft: 220,
alignItems: 'center',
width: 100,
zIndex: 200

},`

previousButtonMain: {
position: 'absolute',
marginTop: 100,
marginLeft: 50,
alignItems: 'center',
width: 100

},

Screenshot 2021-07-25 at 4 09 20 PM

@dsreddy1
Copy link

Yes, I am also getting same issue . please provide the solution

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

No branches or pull requests

2 participants