react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

Not selectable when opacity is 0 in iOS?

Open jameschetwood opened this issue 5 years ago • 2 comments

I need custom styles for my slider. I couldn't find a library that gave me the control I needed so instead Im making the appearance I need with custom CSS applied to Views which are positioned behind the slider component.

I then need to hide the slider component. If I set opacity: 0 it's fine on Android but on iOS the slider is un-selectable. Is this a bug or intended behaviour?

jameschetwood avatar Apr 07 '20 17:04 jameschetwood

I got the same problem/ question :(

NightPhoxy avatar Apr 07 '20 19:04 NightPhoxy

Same issue. Here is an ugly trick: opacity: 0.011 seems to be the lowest opacity where the slider still works.

dynamiccast avatar Jun 03 '20 04:06 dynamiccast