Skip to content
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

Autoplay error #2

Open
ruijia168 opened this issue Feb 28, 2023 · 7 comments
Open

Autoplay error #2

ruijia168 opened this issue Feb 28, 2023 · 7 comments
Assignees

Comments

@ruijia168
Copy link

Which OS ?

Android

Version

Which versions are you using:

  • react-native-swiper v1.0.0
  • react-native v0.7.0

Expected behaviour

I have seven images that I want autoplay to play one by one

Actual behaviour

In fact, the first time the images were rotated, the two images were rotated together until all seven images had been rotated once, and the second time they were rotated one by one

@ruijia168
Copy link
Author

And on the carousel, it plays my last image as the first image

@Richi2293
Copy link
Member

Hi @ruijia168 ,
thanks for the issue!
Do you have a reproducible example of the issue?
Or are you referring to an example already present in the "Examples" folder of the library?

@ruijia168
Copy link
Author

ruijia168 commented Mar 1, 2023

6d6cbf0
If the View and Image like in this example don't show up in my case.

@Richi2293
Copy link
Member

Okok perfect, thanks.
I'm working on it and will update you in a few days

@Richi2293 Richi2293 self-assigned this Mar 1, 2023
@Richi2293
Copy link
Member

Hi @ruijia168 ,
I tried to replicate the problem but couldn't.
I'm not having the issue you reported, meanwhile I also updated the example project.
I've created a new branch "fix/upgradeExampleProject", can you test it?
So let's see if you have the same issue in the example project too, now I've created an example dedicated to image autoplay it might help to have it.
("AutoplayImages")

Thanksss

@ruijia168
Copy link
Author

hi @Richi2293 ,
Unfortunately, I was able to successfully run the sample project in the new branch, but when I ran my project, I still had the same issues (I was confused, the only difference from the sample project was that my bannerList was fetched asynchronously), but I didn't have this problem with the other libraries

@Richi2293
Copy link
Member

Ok, so the sample project works for you correctly?
Can you add me to your repository and I will try to test directly in your project?
Or we have to find a way to replicate the issue in the sample project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants