@@ -358,7 +358,7 @@ function tapMouseDown(e) {
358
358
if ( e . isIonicTap || tapIgnoreEvent ( e ) ) return null ;
359
359
360
360
if ( tapEnabledTouchEvents ) {
361
- console . log ( 'mousedown' , 'stop event' ) ;
361
+ // console.log('mousedown', 'stop event');
362
362
e . stopPropagation ( ) ;
363
363
364
364
if ( ! ionic . Platform . isEdge ( ) && ( ! ionic . tap . isTextInput ( e . target ) || tapLastTouchTarget !== e . target ) &&
@@ -432,7 +432,7 @@ function tapTouchStart(e) {
432
432
var textInput = tapTargetElement ( tapContainingElement ( e . target ) ) ;
433
433
if ( textInput !== tapActiveEle ) {
434
434
// don't preventDefault on an already focused input or else iOS's text caret isn't usable
435
- console . log ( 'Would prevent default here' ) ;
435
+ // console.log('Would prevent default here');
436
436
e . preventDefault ( ) ;
437
437
}
438
438
}
@@ -507,7 +507,7 @@ function tapHandleFocus(ele) {
507
507
// already is the active element and has focus
508
508
triggerFocusIn = true ;
509
509
510
- } else if ( ( / ^ ( i n p u t | t e x t a r e a ) $ / i) . test ( ele . tagName ) || ele . isContentEditable ) {
510
+ } else if ( ( / ^ ( i n p u t | t e x t a r e a | i o n - l a b e l ) $ / i) . test ( ele . tagName ) || ele . isContentEditable ) {
511
511
triggerFocusIn = true ;
512
512
ele . focus && ele . focus ( ) ;
513
513
ele . value = ele . value ;
@@ -530,7 +530,7 @@ function tapHandleFocus(ele) {
530
530
function tapFocusOutActive ( ) {
531
531
var ele = tapActiveElement ( ) ;
532
532
if ( ele && ( ( / ^ ( i n p u t | t e x t a r e a | s e l e c t ) $ / i) . test ( ele . tagName ) || ele . isContentEditable ) ) {
533
- console . log ( 'tapFocusOutActive' , ele . tagName ) ;
533
+ // console.log('tapFocusOutActive', ele.tagName);
534
534
ele . blur ( ) ;
535
535
}
536
536
tapActiveElement ( null ) ;
@@ -551,7 +551,7 @@ function tapFocusIn(e) {
551
551
// 2) There is an active element which is a text input
552
552
// 3) A text input was just set to be focused on by a touch event
553
553
// 4) A new focus has been set, however the target isn't the one the touch event wanted
554
- console . log ( 'focusin' , 'tapTouchFocusedInput' ) ;
554
+ // console.log('focusin', 'tapTouchFocusedInput');
555
555
tapTouchFocusedInput . focus ( ) ;
556
556
tapTouchFocusedInput = null ;
557
557
}
0 commit comments