-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix peeking with disabled state #102
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
✅ Deploy Preview for vue-ssr-carousel ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
hi @weotch, thanks for working on this issue. it's a partially fix, if you remove the |
I couldn't reproduce the issue you're mentioning with those props. It looks wonky, but that's just because it's trying to cram 10 in that space. |
Oh.. I was thinking that, if the |
I think with same layouts, you'd want the width of the slides to be consistent, even if there weren't enough to fill the carousel width. Like maybe you don't want to scale up a slide to 100% if there was only one. If you are rendering your slides with a <ssr-carousel :slides-per-page='Math.min(10, slides.length)'>
<slide v-for='for slide in slides' />
</ssr-carousel>
Still seems fine to me, unless codesandbox isn't updating like it should. |
It seems like if you set |
Fixes #95