Skip to content
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

[Feature Request] Add mouse hover to stop cycle(change of slide) in carousel. #10544

Open
ropodl opened this issue Feb 11, 2020 · 1 comment
Open
Labels
C: VCarousel VCarousel T: feature A new feature

Comments

@ropodl
Copy link

ropodl commented Feb 11, 2020

Problem to solve

currently, there is no way to stop slide when hovering over the slide in v-carousel

Proposed solution

well i don't have a proposed solution, sorry...also thank you for making this wonderful component framework.. :)

###1hour later
Well alternative way to solve it is using v-hover

<v-hover v-slot:default="{ hover }">
<v-carousel :cycle="hover ? false : true">
</v-carousel>
</v-hover>

but add a stop-on-hover prop to v-carousel might be more easy, I guess..!!??

@ghost ghost added the S: triage label Feb 11, 2020
@nekosaur nekosaur added C: VCarousel VCarousel T: feature A new feature and removed S: triage labels Feb 19, 2020
@phpiraste
Copy link

this worked for me

<v-hover v-slot="{ hover }"> <v-carousel :cycle="hover"> </v-carousel> </v-hover>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VCarousel VCarousel T: feature A new feature
Projects
None yet
Development

No branches or pull requests

3 participants