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

gesture system cannot work with contenteditable element #59

Open
magicismight opened this issue Jul 18, 2016 · 2 comments
Open

gesture system cannot work with contenteditable element #59

magicismight opened this issue Jul 18, 2016 · 2 comments

Comments

@magicismight
Copy link

The element with gestures system will cause contenteditable element lose focus on iOS.

@eriktrom
Copy link
Member

I believe that has to do with the inline style property touch-action: manipulation; on input elements that is added by ember-hammertime (which ember-gestures uses)

This article might be of use: https://webkit.org/blog/5610/more-responsive-tapping-on-ios/

@runspired will correct me where I am (completely) wrong - but thats cool, I'd like to learn as well

(perhaps you cannot double tap on an element with touch-action: manipulation; on iOS - so content editable maybe becomes problematic - all speculation though, dont take my word for it)

That's not an answer but take a look at the input field and note the inline style and with some research let us know your findings, if you have time

@runspired
Copy link
Collaborator

contenteditable has so many caveats I'm really not sure where to begin, but you definitely should not be attempting to recognize gestures within one.

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

3 participants