Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Impossible to select a text when there is a md-swipe-{left;right} #838

Closed
tiftof69 opened this issue Dec 3, 2014 · 4 comments
Closed

Impossible to select a text when there is a md-swipe-{left;right} #838

tiftof69 opened this issue Dec 3, 2014 · 4 comments
Milestone

Comments

@tiftof69
Copy link

tiftof69 commented Dec 3, 2014

anim

JSFiddle : http://jsfiddle.net/tiftof69/2d845z6h/

@ThomasBurleson
Copy link
Contributor

@tiftof69 - Thx for a great bug submission: animated gif and JSFiddle. #woot.

@ThomasBurleson ThomasBurleson added this to the 0.7.0-rc1 milestone Dec 3, 2014
@Frank3K
Copy link
Contributor

Frank3K commented Dec 3, 2014

Note that the text can be selected in Firefox 34.0, but not in Chrome 39.

@Frank3K
Copy link
Contributor

Frank3K commented Dec 3, 2014

Seems this is the default behavior of Hammer.js. See their docs:

staticHammer.defaults.cssProps.userSelectString
Disables text selection to improve the dragging gesture. Mainly for desktop browsers.
Default Value: 'none'

@ajoslin
Copy link
Contributor

ajoslin commented Jan 12, 2015

I think we'll keep the default Hammer behavior. Thoughts @ThomasBurleson?

Alternatively, we can just drop swipe on desktop. That may be smarter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants