story_view icon indicating copy to clipboard operation
story_view copied to clipboard

Multiple users story plays twice on page change

Open spatel2212 opened this issue 3 years ago • 2 comments

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?

spatel2212 avatar May 13 '21 13:05 spatel2212

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

rohitmagic10 avatar Jul 26 '21 05:07 rohitmagic10

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

hwasiq15 avatar Sep 28 '21 10:09 hwasiq15