diff --git a/src/components/bottomSheet/BottomSheet.tsx b/src/components/bottomSheet/BottomSheet.tsx index 5a7f3f1b6..7bf23c53e 100644 --- a/src/components/bottomSheet/BottomSheet.tsx +++ b/src/components/bottomSheet/BottomSheet.tsx @@ -284,13 +284,13 @@ const BottomSheetComponent = forwardRef( //#region layout callbacks const handleOnContainerMeasureHeight = useCallback((height: number) => { - console.log('BottomSheet', 'handleOnContainerMeasureHeight', height); + // console.log('BottomSheet', 'handleOnContainerMeasureHeight', height); didSetContainerHeight.current = true; setContainerHeight(height); }, []); const handleOnHandleMeasureHeight = useCallback((height: number) => { - console.log('BottomSheet', 'handleOnHandleMeasureHeight', height); + // console.log('BottomSheet', 'handleOnHandleMeasureHeight', height); didSetHandleHeight.current = true; setHandleHeight(height); }, []); @@ -507,7 +507,7 @@ const BottomSheetComponent = forwardRef( //#endregion //#region render - console.log('BottomSheet', 'render', shouldMeasureContainerHeight); + // console.log('BottomSheet', 'render', shouldMeasureContainerHeight); return ( [ - debug('finish timing', config.toValue), + // debug('finish timing', config.toValue), set(currentGesture, GESTURE.UNDETERMINED), set(shouldAnimate, 0), set(currentPosition, config.toValue), @@ -156,13 +156,13 @@ export const useTransition = ({ cond( eq(isReady, 1), [ - debug('current gesture', currentGesture), + // debug('current gesture', currentGesture), /** * In case animation get interrupted, we execute the finishTiming node and * set current position the the animated position. */ cond(isAnimationInterrupted, [ - debug('animation interrupted', isAnimationInterrupted), + // debug('animation interrupted', isAnimationInterrupted), finishTiming, set(currentPosition, animationState.position), ]), @@ -175,7 +175,7 @@ export const useTransition = ({ currentGesture, cond(isPanningContent, GESTURE.CONTENT, GESTURE.HANDLE) ), - debug('start panning', translateY), + // debug('start panning', translateY), cond( not( greaterOrEq( @@ -226,7 +226,7 @@ export const useTransition = ({ ) ), [ - debug('gesture end', currentGesture), + // debug('gesture end', currentGesture), set( config.toValue, snapPoint( @@ -260,7 +260,7 @@ export const useTransition = ({ neq(manualSnapToPoint, config.toValue) ), [ - debug('manualSnapToPoint', manualSnapToPoint), + // debug('manualSnapToPoint', manualSnapToPoint), set(config.toValue, manualSnapToPoint), set(animationState.finished, 0), set(shouldAnimate, 1), @@ -273,11 +273,11 @@ export const useTransition = ({ * Animation Node. */ cond(shouldAnimate, [ - debug('animating', shouldAnimate), + // debug('animating', shouldAnimate), cond( and(not(clockRunning(clock)), not(animationState.finished)), [ - debug('start animating', shouldAnimate), + // debug('start animating', shouldAnimate), /** * `onAnimate` node */ diff --git a/src/components/bottomSheetContainer/BottomSheetContainer.tsx b/src/components/bottomSheetContainer/BottomSheetContainer.tsx index 0c185210b..2d9fb8885 100644 --- a/src/components/bottomSheetContainer/BottomSheetContainer.tsx +++ b/src/components/bottomSheetContainer/BottomSheetContainer.tsx @@ -23,7 +23,7 @@ const BottomSheetContainerComponent = ({ //#endregion //#region render - console.log('BottomSheetContainer', 'render', shouldMeasureHeight); + // console.log('BottomSheetContainer', 'render', shouldMeasureHeight); return (