Can't Edit Forms #21

sandymcfadden opened this Issue Jan 13, 2012 · 4 comments


None yet
5 participants

If I have a form element inside a draggable area I can't edit it. I'm unable to click inside the form element.

I can click (touch) into a text area but there's no way of navigating within it. If I click at the end of the text the caret remains at the first position.

senhor8 commented May 29, 2012

To fix this I used:
$("input, textarea").each(function() {
$(this).click(function() {

uniwiz commented Sep 13, 2012

senhor8's solution worked perfectly. Thanks!

Change in _jquery.ui.touch-punch.js_ worked for me.
JS: jquery.ui.touch-punch.js
Method to modify:

    //line: 31    
    function simulateMouseEvent(event, simulatedType) {
    //changes to add ++
    if ($("input") || $("textarea")) {
    } else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment