Skip to content

Conversation

@ERPedersen
Copy link
Contributor

References #184.

By resetting the autoplay interval when goToPage is being called, we can accomplish this functionality. Because hovering over the element will reset the autoplay interval, it should only be run when autoplayHoverPause is false.

I also added changes to the properties passed to the Autoplay example in the vue-play demos. Because autoplayHoverPause has a default value of true, it rendered the component with the same properties as in Autoplay, pause on hover.

@coveralls
Copy link

coveralls commented Jun 6, 2018

Coverage Status

Coverage decreased (-0.3%) to 69.874% when pulling b8c14a7 on ERPedersen:feat/reset-autoplay-timeout-on-manual-slide-switch into e871a2a on SSENSE:master.

@ERPedersen
Copy link
Contributor Author

@quinnlangille

Let me know if you think this solution correctly addresses the problem, or whether you think another approach would be more suitable :)

@quinnlangille
Copy link
Member

Hey @ERPedersen yeah this looks great! I'm going to give it a full review now and if all is good I'll release this with the upcoming patch - should be early next week!

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

Successfully merging this pull request may close these issues.

3 participants