diff --git a/core/src/components/virtual-scroll/virtual-scroll.tsx b/core/src/components/virtual-scroll/virtual-scroll.tsx index 9d8c462256..8b13f32648 100644 --- a/core/src/components/virtual-scroll/virtual-scroll.tsx +++ b/core/src/components/virtual-scroll/virtual-scroll.tsx @@ -218,7 +218,6 @@ export class VirtualScroll implements ComponentInterface { this.approxItemHeight, cellIndex, offset, len ); - console.debug('[virtual] cells recalculated', cells.length); this.cells = inplaceUpdate(this.cells, cells, cellIndex); this.lastItemLen = this.items.length; this.indexDirty = Math.max(offset - 1, 0); @@ -331,7 +330,6 @@ export class VirtualScroll implements ComponentInterface { return; } if (cell.height !== height || cell.visible !== true) { - console.debug(`[virtual] cell height or visibility changed ${cell.height}px -> ${height}px`); cell.visible = true; cell.height = height; this.indexDirty = Math.min(this.indexDirty, index); @@ -372,7 +370,6 @@ export class VirtualScroll implements ComponentInterface { this.approxItemHeight, 0, 0, this.lastItemLen ); - console.debug('[virtual] cells recalculated', this.cells.length); this.indexDirty = 0; } @@ -388,7 +385,6 @@ export class VirtualScroll implements ComponentInterface { this.heightIndex = resizeBuffer(this.heightIndex, this.cells.length); this.totalHeight = calcHeightIndex(this.heightIndex, this.cells, index); - console.debug('[virtual] height index recalculated', this.heightIndex.length - index); this.indexDirty = Infinity; } diff --git a/core/src/utils/animation/animator.ts b/core/src/utils/animation/animator.ts index 5768fc4e0c..1fc64f436a 100644 --- a/core/src/utils/animation/animator.ts +++ b/core/src/utils/animation/animator.ts @@ -528,7 +528,6 @@ export class Animator { } function onTransitionFallback() { - console.debug('Animation onTransitionFallback, CSS onTransitionEnd did not fire!'); // oh noz! the transition end event didn't fire in time! // instead the fallback timer when first // if all goes well this fallback should never fire diff --git a/core/src/utils/gesture/pointer-events.ts b/core/src/utils/gesture/pointer-events.ts index dc8afacfa4..b6789ed255 100644 --- a/core/src/utils/gesture/pointer-events.ts +++ b/core/src/utils/gesture/pointer-events.ts @@ -37,7 +37,6 @@ export function createPointerEvents( function handleMouseDown(ev: any) { if (lastTouchEvent > Date.now()) { - console.debug('mousedown event dropped because of previous touch'); return; } if (!pointerDown(ev)) { diff --git a/core/src/utils/input-shims/hacks/common.ts b/core/src/utils/input-shims/hacks/common.ts index 04fa1b40ca..e4fa87b802 100644 --- a/core/src/utils/input-shims/hacks/common.ts +++ b/core/src/utils/input-shims/hacks/common.ts @@ -9,7 +9,7 @@ export function relocateInput( if (cloneMap.has(componentEl) === shouldRelocate) { return; } - console.debug(`native-input, hideCaret, shouldHideCaret: ${shouldRelocate}, input value: ${inputEl.value}`); + if (shouldRelocate) { addClone(componentEl, inputEl, inputRelativeY); } else { diff --git a/core/src/utils/input-shims/hacks/hide-caret.ts b/core/src/utils/input-shims/hacks/hide-caret.ts index 2162166954..15c4c24a6b 100644 --- a/core/src/utils/input-shims/hacks/hide-caret.ts +++ b/core/src/utils/input-shims/hacks/hide-caret.ts @@ -4,7 +4,6 @@ export function enableHideCaretOnScroll(componentEl: HTMLElement, inputEl: HTMLI if (!scrollEl || !inputEl) { return () => { return; }; } - console.debug('Input: enableHideCaretOnScroll'); const scrollHideCaret = (shouldHideCaret: boolean) => { if (isFocused(inputEl)) { diff --git a/core/src/utils/input-shims/hacks/input-blurring.ts b/core/src/utils/input-shims/hacks/input-blurring.ts index 07d604a20a..d5d59cacea 100644 --- a/core/src/utils/input-shims/hacks/input-blurring.ts +++ b/core/src/utils/input-shims/hacks/input-blurring.ts @@ -2,8 +2,6 @@ const SKIP_SELECTOR = 'input, textarea, [no-blur]'; export function enableInputBlurring(doc: Document) { - console.debug('Input: enableInputBlurring'); - let focused = true; let didScroll = false; diff --git a/core/src/utils/input-shims/hacks/scroll-assist.ts b/core/src/utils/input-shims/hacks/scroll-assist.ts index db0f0be923..5e67ca3ca6 100644 --- a/core/src/utils/input-shims/hacks/scroll-assist.ts +++ b/core/src/utils/input-shims/hacks/scroll-assist.ts @@ -12,12 +12,10 @@ export function enableScrollAssist( let coord: any; const touchStart = (ev: Event) => { coord = pointerCoord(ev); - console.debug(`input-base, pointerStart, type: ${ev.type}`); }; const touchEnd = (ev: Event) => { // input cover touchend/mouseup - console.debug(`input-base, pointerEnd, type: ${ev.type}`); if (!coord) { return; } diff --git a/core/src/utils/input-shims/hacks/scroll-padding.ts b/core/src/utils/input-shims/hacks/scroll-padding.ts index 32a29eb559..eaafdea209 100644 --- a/core/src/utils/input-shims/hacks/scroll-padding.ts +++ b/core/src/utils/input-shims/hacks/scroll-padding.ts @@ -1,8 +1,6 @@ const PADDING_TIMER_KEY = '$ionPaddingTimer'; export function enableScrollPadding(doc: Document, keyboardHeight: number) { - console.debug('Input: enableScrollPadding'); - function onFocusin(ev: any) { setScrollPadding(ev.target, keyboardHeight); }