-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Active slide delay Android #92
Comments
Hi @AndrePech, I haven't been able to reproduce the issue so far. Have you tested on different Android devices? Can you try adding the following to your
|
Thanks @bd-arc EDIT 2: Figured out the problem, I was displaying around 20 slides, that seems too heavy for the Carousel.... I Tested with 5 slides and its very good now. But Unfortunately I will have to look for another solution, since I need to display more than 20 slides on my app. The effect got better but it still taking around 2s to activate the "slide"; I might be doing something wrong o my side: (the code below is the way it worked better, on iOS it is very smooth)
I will try to test on other Android Devices, I am trying to achieve the same very smooth effect from the showcase app, with the animation starting as soon as the slide enters the screen. I will keep trying and let you know if something changes. |
@AndrePech Were you, by any chance, testing in debug mode? Because carousel's performances are crappy on Android when JS Dev Mode is activated. Regarding the number of slides, I've used it with 15 really graphic slides on an old Android device without any issue. Still, you might be interested in knowing that I will probably release next week a |
@bd-arc Holy s***t I am really sorry, I is working wonder now. Yes, I was JS DEV mode indeed, I was pretty sure it was off that did even check it. MY BAD. Thank you very much and sorry again. |
I have noticed that the selected slide takes a while to show as active.
For example, on Android, when executing snapToItem(index) the carousel scrolls nicely to the desired slide, but it takes around 3 seconds for it to show as active.
I am using the example code.
No problem on iOS thought.
The text was updated successfully, but these errors were encountered: