mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
focus input w/ label
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user