react-native-media-controls icon indicating copy to clipboard operation
react-native-media-controls copied to clipboard

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

Open sandeepkundu4344 opened this issue 3 years ago • 1 comments

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

sandeepkundu4344 avatar Jul 25 '21 10:07 sandeepkundu4344

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

dsreddy1 avatar Oct 13 '22 07:10 dsreddy1