-
Notifications
You must be signed in to change notification settings - Fork 503
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
Watch Autoplay Prop #344
Watch Autoplay Prop #344
Conversation
…323) * fix(carousel): Flush the slides left when they don't fill the width (#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix #323 * style(play): Use capitals in tests for consistency
Hey @csmoakpax8, sorry for the delay on reviewing this - we've been wrapping up the year in office and it's been crazy lol. This is a great addition, and IMO should have been part of the original feature. I'll merge it into our v0.17.0 working branch as a feature! Thanks for the contribution |
* fix(carousel): flush the slides left when they don't fill the width (#323) * fix(carousel): Flush the slides left when they don't fill the width (#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix #323 * style(play): Use capitals in tests for consistency * v0.16.1 * chore: build * feat(standard): watch autoplay prop and enable/disable autoplay
I understand this feature ship with version 0.17.0? |
@gertvdkolk should be early next week! |
* fix(carousel): flush the slides left when they don't fill the width (SSENSE#323) * fix(carousel): Flush the slides left when they don't fill the width (SSENSE#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix SSENSE#323 * style(play): Use capitals in tests for consistency * v0.16.1 * chore: build * feat(standard): watch autoplay prop and enable/disable autoplay
* Clean up to prepare for test script refactor (#330) * fix(precommit): use jest exit code * fix(jest): restore coverage collection context * chore(package.json): remove phased out test tools * style(eslint): commit eslint fixes (#336) * feat: add watcher to Autoplay Prop (#344) * fix(carousel): flush the slides left when they don't fill the width (#323) * fix(carousel): Flush the slides left when they don't fill the width (#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix #323 * style(play): Use capitals in tests for consistency * v0.16.1 * chore: build * feat(standard): watch autoplay prop and enable/disable autoplay * feat(pagination) added an option to add custom title in pagination buttons * updated test snapshots * fixed wrong conflict resolution of carousel.vue
* fix(carousel): flush the slides left when they don't fill the width (#323) * fix(carousel): Flush the slides left when they don't fill the width (#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix #323 * style(play): Use capitals in tests for consistency * v0.16.1 * chore: build * feat(standard): watch autoplay prop and enable/disable autoplay
* Clean up to prepare for test script refactor (#330) * fix(precommit): use jest exit code * fix(jest): restore coverage collection context * chore(package.json): remove phased out test tools * style(eslint): commit eslint fixes (#336) * feat: add watcher to Autoplay Prop (#344) * fix(carousel): flush the slides left when they don't fill the width (#323) * fix(carousel): Flush the slides left when they don't fill the width (#323) When there are too few slides to fill the row, with scrollPerPage, the slides were flushed right instead of left. By bounding maxOffest to a minimum of 0, the slides are aligned on the left-hand-side Fix #323 * style(play): Use capitals in tests for consistency * v0.16.1 * chore: build * feat(standard): watch autoplay prop and enable/disable autoplay * feat(pagination) added an option to add custom title in pagination buttons * updated test snapshots * fixed wrong conflict resolution of carousel.vue
Watch Autoplay Prop to enable/disable autoplay after initialization.
Motivation and Context
To be able to pause autoplay if the user interacts with any of the slides. The current pause on hover functionality didnt meet my needs.
Fixes/Addresses: #229
How Has This Been Tested?
I added a vue-play example that demonstrates code change.
Types of changes
Checklist: