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

Cursor handling #25

Open
doublejosh opened this issue Apr 10, 2024 · 0 comments
Open

Cursor handling #25

doublejosh opened this issue Apr 10, 2024 · 0 comments

Comments

@doublejosh
Copy link

doublejosh commented Apr 10, 2024

This library doesn't seem to include cursor handling for "grab" and "grabbing" which is core to the UX. It's in the examples so I assumed it would be in there. For others, here's what you should add to your carousel...

.grabbable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.grabbable:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
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

1 participant