Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Inputs inside an iframe where TouchScroll is used freeze input elements #27

Open
robertpate opened this Issue · 1 comment

2 participants

@robertpate

If a page using TouchScroll is loaded inside an iframe and the page has inputs, the input's key entry is unresponsive when a user moves the cursor in the input box using a touch, hold, move the cursor, and release. After that action, no keyboard entries are registered in the input even though the cursor is available and the input is considered active.

@mariob316

In the touchscroll js, add this to the onTouchStart function in the if statment

var target = a.target;
while (target.nodeType !== 1){
target = target.parentNode;
}
if (target.tagName !== 'INPUT' && target.tagName !== 'SELECT'){
a.preventDefault();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.