drawRect / Instagram_Stories

Inspired by Instagram Stories functionality. This source is similar to Instagram Stories, which is having both image and video support.
MIT License
414 stars 76 forks source link

Progress bar issue #117

Open ajaychaudharkansal opened 3 years ago

ajaychaudharkansal commented 3 years ago

Hi @ranmyfriend & @boominadhaprakash

Thanks for this library. This helps me a lot. Sorry for the inconvenience , but I'm facing one issue with progress bar . Some time progress bar is not showing & also not changing the next image. The progress bar is also not showing the progress. Please check the attachment.

https://user-images.githubusercontent.com/71260037/94113871-2be80780-fe65-11ea-898d-8ea78dccfee7.png

Please help me in this.

ranmyfriend commented 3 years ago

Hi @ajaychaudharkansal Can you please list down the use case for this issue. so that we can reproduce it from outside and try to give fix.

ajaychaudharkansal commented 3 years ago

Hi @ranmyfriend

Thanks for the response . Let me share you a video link , that might help you to understand the issue. Please check the video link.

https://youtu.be/oKQA3QbbyXw

Thanks

ranmyfriend commented 3 years ago

It says Video is Unavailable @ajaychaudharkansal

ajaychaudharkansal commented 3 years ago

Hi @ranmyfriend

Sorry for that . let me check it again. That was a youtube video link .

ajaychaudharkansal commented 3 years ago

Hi @ranmyfriend

Please Check this link.

https://youtu.be/eDV7XSNkUVk

boominadhaprakash commented 3 years ago

Hi @ajaychaudharkansal

We will check it and revert you back. Before that, let us know, have you modified any existing code? Is it stopping the progress bar?

ajaychaudharkansal commented 3 years ago

hi @boominadhaprakash

Sorry for the late response . I didn't changed anything in both of the progress classes.

I only changed the data type of story_identifier from string to Int. Nothing else I changed in that,

final class IGSnapProgressView: UIView, ViewAnimator { public var story_identifier: Int? public var snapIndex: Int? // public var isCancelledAbruptly = false public var story: IGStory! }

ajaychaudharkansal commented 3 years ago

Hi @ranmyfriend & @boominadhaprakash

Please help me in this issue.

Thanks

ranmyfriend commented 3 years ago

Hi @ajaychaudharkansal Actually, we played the scenario what you have mentioned. but not easily reproducible. We will try to load more stories and will play with this and let you know. I Will reply in the evening.

ajaychaudharkansal commented 3 years ago

@ranmyfriend

Thanks for the response.

ranmyfriend commented 3 years ago

Hi @ajaychaudharkansal We got one issue from outside. when we are deleting the last snap of current user, then trying to view other user story. then the progress bar and view is getting stuck. We are trying to solve this issue as soon as possible. But apart from this delete functionality, we have not faced any progress bar issue. what you have mentioned here.

Can you please list down the use case anything additionally you are trying to do here.