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

Only enable pause: hover for non-touch browsers #14626

Merged
merged 1 commit into from
Oct 3, 2014

Conversation

hnrch02
Copy link
Collaborator

@hnrch02 hnrch02 commented Sep 16, 2014

Fixes #11967.

@hnrch02 hnrch02 added the js label Sep 16, 2014
@hnrch02 hnrch02 added this to the v3.2.1 milestone Sep 16, 2014
@hnrch02
Copy link
Collaborator Author

hnrch02 commented Sep 22, 2014

/to @fat

@cvrebert
Copy link
Collaborator

"Proper" touch detection is a bit more complicated, but we do already use the simple ontouchstart check elsewhere; I guess we'll leave fancier touch detection for v4.

@hnrch02
Copy link
Collaborator Author

hnrch02 commented Sep 22, 2014

That's exactly my thinking, we do it like this for the dropdown plugin currently. Explained that in my #11967 comment.

@hnrch02 hnrch02 force-pushed the carousel-pause-hover-non-mobile branch from 4f5db43 to c37c1a6 Compare September 23, 2014 21:35
@hnrch02
Copy link
Collaborator Author

hnrch02 commented Sep 23, 2014

I added a basic unit test for this.

@fat
Copy link
Member

fat commented Oct 3, 2014

awesome, thanks @hnrch02

fat added a commit that referenced this pull request Oct 3, 2014
Only enable `pause: hover` for non-touch browsers
@fat fat merged commit b702889 into master Oct 3, 2014
@fat fat deleted the carousel-pause-hover-non-mobile branch October 3, 2014 03:09
@cvrebert cvrebert mentioned this pull request Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS: Carousel stops cycling after clicking next or prev button or carousel-indicators
3 participants