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

:navigationEnabled="true" not working #72

Closed
hackuun opened this issue Aug 7, 2017 · 9 comments
Closed

:navigationEnabled="true" not working #72

hackuun opened this issue Aug 7, 2017 · 9 comments

Comments

@hackuun
Copy link

hackuun commented Aug 7, 2017

I can enable navigation. Adding :navigationEnabled="true" to carousel doesn't effect anything.
Using with blank webpack starter.

@cviebrock
Copy link

Same here.

@lhovee
Copy link

lhovee commented Sep 2, 2017

@iamdubx @cviebrock I'm not sure if this fixes the issue but I believe it's supposed to be :navigation-enabled=true.
Another thought is I thought my navigation was broken until I realized the carousel was too wide and pushing my nav icons off screen. Setting a max-width on your carousel container might be necessary.

@chrisribe
Copy link

@lhovee Thanks fixed it for me the param seems to be incorrect in the documentation.

@chrisribe
Copy link

Please fix the jsfiddle example:

<script async src="//jsfiddle.net/toddlawton/46wegz8a/embed/result,js/"></script>

Odd both methods of using the param works under jsfiddle (maybe caused by babel?)
Chris

@quinnlangille
Copy link
Member

Going to update the documentation with the proper kebab-case props now. Closing this issue, feel free to open another issue if you have any questions!

@devWaleed
Copy link

I am still having this issue. :navigation-enabled="true" or :navigationEnabled="true" is not working.

@simbilim
Copy link

@devWaleed have you found a way to fix the issue?

@heavensloop
Copy link

@iamdubx @cviebrock I'm not sure if this fixes the issue but I believe it's supposed to be :navigation-enabled=true.
Another thought is I thought my navigation was broken until I realized the carousel was too wide and pushing my nav icons off screen. Setting a max-width on your carousel container might be necessary.

This and the following css helped to reveal the links:

.VueCarousel-navigation-button {
                position: relative;
}

@daviraquel
Copy link

I was having the same issue. Prop case style didn't work, suggested css didn't work either but made me take the same path. This one did the trick:

.VueCarousel-navigation-prev,
.VueCarousel-navigation-next {
transform: translateY(-50%) !important;
}

It seems the original transform properties for these classes, which also contained a translateX() were moving both buttons away from the screen.

They're also black with transparent background by default wich initially made me think they were not showing because the page was dark.

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

No branches or pull requests

9 participants