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
Fullscreen initial image bug when slideshow is not circular #67
Comments
Hi, thanks for your report! I'll look into that. |
Getting this same issue on version 0.6 |
I can fix this by setting 'circular' to false on the FullScreenSlideshowViewController's 'slideshow' property. eg using the example from the Readme: Maybe setting circular to false on an ImageSlideshow instance should do the same for a FullScreenSlideshowViewController? At the moment they don't really know about each other so might take some refactoring (could be paired with #72). I can also see users wanting to have circular enabled on one and not in the other. |
The problem was caused by using This change however breaks backward compatibility so I cannot push it straight away to |
Just checked the FullScreenSlideshowVC now opens at the same index as the current imageSlide. But when FullScreenSlideshowVC dismiss, the imageSlide slide current index is one behind the correct index. |
Note that you also need to change your |
When I have multiple images in my slideshow and set
slideshow.circular = false
, then click on an image to present in full screen would not present the current image I tapped. It would actually load the previous image! So I guess the index of the initial image is not set properly when the full screen is presented.Forget to mention I'm using the swift-3 branch :)
The text was updated successfully, but these errors were encountered: