focus input w/ label

This commit is contained in:
Adam Bradley
2015-07-17 09:45:52 -05:00
parent b35a31904a
commit 63c1773a09
2 changed files with 3 additions and 6 deletions

View File

@ -78,8 +78,6 @@ export class TextInput extends IonInput {
// focus this input if the pointer hasn't moved XX pixels
// and the input doesn't already have focus
console.log('!this.hasFocus()', !this.hasFocus());
if (!dom.hasPointerMoved(20, this.startCoord, endCoord) && !this.hasFocus()) {
ev.preventDefault();
ev.stopPropagation();