Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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!