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

Multiple users story plays twice on page change #105

Open
spatel2212 opened this issue May 13, 2021 · 2 comments
Open

Multiple users story plays twice on page change #105

spatel2212 opened this issue May 13, 2021 · 2 comments

Comments

@spatel2212
Copy link

spatel2212 commented May 13, 2021

https://user-images.githubusercontent.com/76149392/118134886-07ef2b80-b420-11eb-87dc-b35328db02a4.mp4
https://user-images.githubusercontent.com/76149392/118135342-877cfa80-b420-11eb-938f-c9ab9e072f36.mp4

I have a project which accepts story behaviour like Facebook, Instagram, WhatsApp. I have used this pub and it works fine for one user. I have put the story controller in a page view controller for multiple users' stories but when I go back to previous user's story on swipe then the story gets played twice.

I have tried multiple story controllers for as many users but no success. Can you please assist here how to solve this issue and achieve the behaviour like in WhatsApp or Instagram?

@rohitmagic10
Copy link

Make your stories a global variable and make sure the build method is not called again and again.

@hwasiq15
Copy link

Yes same issuee. I want to change stories for multiple user on swipe.

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

3 participants