We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fa55e1 commit 6d0d987Copy full SHA for 6d0d987
src/packages/elevator/elevator.taro.tsx
@@ -216,7 +216,7 @@ export const Elevator: FunctionComponent<
216
const getWrapStyle = useMemo(() => {
217
const calcHeight = Number.isNaN(+height) ? height : `${height}px`
218
219
- return { height: harmony() ? Number(calcHeight) : calcHeight }
+ return { height: harmony() ? Number(height) : calcHeight }
220
}, [height])
221
222
useEffect(() => {
0 commit comments