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

Not working in android

Open waleedarshad-vf opened this issue 9 years ago • 16 comments

waleedarshad-vf avatar Aug 04 '16 11:08 waleedarshad-vf

confirmed. And no information provided about android support!

ruskid avatar Aug 10 '16 10:08 ruskid

It's working on my Nexus 6P running Android 6.0.1. I'm still on RN 0.29.2 though so perhaps a recent update to RN broke it?

jamealg avatar Aug 10 '16 20:08 jamealg

Any pull requests to fix this issue gladly accepted.

nick avatar Aug 10 '16 20:08 nick

working on rn 30

chromonav avatar Aug 15 '16 08:08 chromonav

@chromonav in my case, indicators are not showing in Android, and in iOS, they are showing out of bounds.

simulator screen shot 7 de set de 2016 12 40 42

tioback avatar Sep 07 '16 15:09 tioback

The problem seems to be indicatorOffset. It's original value is 250, which sends the indicators nearly to the top of the screen.

Other than that, if I set indicatorOffset={10}, Android is perfect, check PR #31

tioback avatar Sep 07 '16 17:09 tioback

it is not working on my android project either, any one help me?

javaxiu avatar Sep 17 '16 07:09 javaxiu

@javaxiu have you able to solve your issue. ?

Works seamlessly on "react-native": "^0.29.1"

symmetriccurve avatar Nov 21 '16 23:11 symmetriccurve

don't work on react-native 0.38

duzliang avatar Dec 15 '16 02:12 duzliang

this is maybe a react-native bug, I have read the document but can't find it

duzliang avatar Dec 15 '16 03:12 duzliang

For anyone saying it "doesn't work", you'll probably have to give an explanation of what exactly isn't working (display, interaction, the indicator problems mentioned above, etc).

If your problem is "the view shows up empty", and your <Carousel> is in a <ScrollView>, you may be encountering https://github.com/facebook/react-native/issues/8088. Set the containing <ScrollView> to removeClippedSubviews={false} and things should work (though it's not a great solution for performance reasons).

mikelambert avatar Jan 30 '17 15:01 mikelambert

@symmetriccurve it turns out canvas was not suitable to display(too big or too small). try to print container's size on your console for debug. i haven't use this module for a while. wish it is helpful

javaxiu avatar Feb 17 '17 09:02 javaxiu

Running rn0.41 I was able to merge both the Android and iOS component definitions. This resolved the issue for me. see PR #76

bradsolves avatar Feb 18 '17 19:02 bradsolves

hi everyone, this project seems abandoned for a while. So I've make lots of improvements of this library. If you are looking for alternative solutions see here https://github.com/Canner/react-native-carousel-view. thanks!

chilijung avatar Jul 13 '17 10:07 chilijung

@tioback Setting indicatorOffset to 10 dd'nt help me

SupriyaKalghatgi avatar Aug 17 '17 08:08 SupriyaKalghatgi

@mikelambert I am using Carousel within ScrollView But adding removeClippedSubviews={false} to ScrollView dd'nt help me either

SupriyaKalghatgi avatar Aug 17 '17 08:08 SupriyaKalghatgi