refactor: fixed overlay zIndex is not effective, and extract types of dialog, overlay, fixednav, popup, toast #5273
Annotations
10 errors and 13 warnings
build:
src/packages/calendar/calendar.taro.tsx#L181
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/calendar/calendar.taro.tsx#L182
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/calendar/calendar.tsx#L182
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/calendar/calendar.tsx#L183
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/cascader/cascader.taro.tsx#L491
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/cascader/cascader.taro.tsx#L492
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/cascader/cascader.tsx#L490
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/cascader/cascader.tsx#L491
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build:
src/packages/dialog/confirm.tsx#L103
'title' is specified more than once, so this usage will be overwritten.
|
build:
src/packages/numberkeyboard/numberkeyboard.taro.tsx#L161
Type '() => void' is not assignable to type '(e: MouseEvent<Element, MouseEvent>) => boolean | undefined'.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
src/packages/animatingnumbers/countup.taro.tsx#L88
React Hook useCallback has a missing dependency: 'duration'. Either include it or remove the dependency array
|
lint:
src/packages/avatar/avatar.taro.tsx#L122
React Hook useEffect has a missing dependency: 'groupMax'. Either include it or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L176
React Hook useEffect has a missing dependency: 'canvasAll'. Either include it or remove the dependency array. You can also do a functional update 'setCanvasAll(c => ...)' if you only need 'canvasAll' in the 'setCanvasAll' call
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L188
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L270
React Hook useCallback has missing dependencies: 'pixelRatio' and 'space'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L287
React Hook useCallback has missing dependencies: 'canvasAll.canvasId', 'state.displayHeight', and 'state.displayWidth'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L344
React Hook useCallback has missing dependencies: 'alipayDraw', 'canvasAll', 'showAlipayCanvas2D', 'space', 'state', and 'webDraw'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.tsx#L126
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
|
lint:
src/packages/badge/badge.taro.tsx#L84
React Hook useEffect has a missing dependency: 'getPositionStyle'. Either include it or remove the dependency array
|
lint:
src/packages/barrage/barrage.taro.tsx#L104
React Hook useEffect has a missing dependency: 'run'. Either include it or remove the dependency array
|