Double click / double tap to select or highlight word in input text doesn't work
-
Hi,
Could you please help me out here? I’m using OnsenUI with React and cannot double click / tap to select / highlight words in input text (convention in iOS). I think this relates to HammerJS, but have no idea how to disable or enable this ability.
Many thanks,
-
Any one know how to enable double tap to highlight word in onsen text input / textarea? Thanks.
-
Finally found the issues from fastclick:
https://github.com/OnsenUI/OnsenUI/pull/1646
https://facebook.github.io/react/docs/dom-elements.html#suppresscontenteditablewarningThen fixed all Input, textarea, contentEditable … with the following, it worked now.
<Input suppressContentEditableWarning = {true} contentEditable={true} />
-
@Gamifity-Ltd Thanks for figuring this one out. Although I don’t use React, I am sure there are other users out there who will run into this eventually!