Closed nguyenap closed 4 years ago
I'm reopening this issue if you don't mind. Open issue will add some additional motivation to do that.
ok good. Hope it will be completed soon :)
Is this the reason I can't drag the sliders on android? or is that a different issue?
@genesy , is your slider in a scrollable component? There is a similar open issue, I can't figure out why is it happening.
yeah i figured it out just now. it was in react-native-modal and i had to turn of it's swiping capabilities on android. works fine on ios tho
On Mon, Feb 24, 2020 at 4:46 PM Tigran Sahakyan notifications@github.com wrote:
@genesy https://github.com/genesy , is your slider in a scrollable component? There is a similar open issue https://github.com/githuboftigran/rn-range-slider/issues/20, I can't figure out why is it happening.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/githuboftigran/rn-range-slider/issues/18?email_source=notifications&email_token=AAJZDMEPRF6DELIUTUIEZWLREOCOPA5CNFSM4IA6YBJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMXAF5Q#issuecomment-590217974, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJZDMHDHO6U6GMYJ5S4P2LREOCOPANCNFSM4IA6YBJA .
The slider is not working for android. it shows Android not supported yet? even if we set both height and width in style props.
@dev-sathish
it shows Android not supported yet? Nope, it doesn't show "Android not supported yet". And it IS working on android. Just follow the instructions in readme (link for react-native < 60, unlink for react-native >=60, styles, etc).
@nguyenap , because I was too lazy and didn't add support for automatic height calculation inside the view (so it can wrap it's content by default). Will try to find time and fix it in this weekend ;-) Thanks for reporting!