diff --git a/src/components/floating-panel/floating-panel.tsx b/src/components/floating-panel/floating-panel.tsx index bfd6657bec..be71b3f2b0 100644 --- a/src/components/floating-panel/floating-panel.tsx +++ b/src/components/floating-panel/floating-panel.tsx @@ -14,6 +14,8 @@ import { mergeProps } from '../../utils/with-default-props' import { useLockScroll } from '../../utils/use-lock-scroll' import { useMemoizedFn } from 'ahooks' +const classPrefix = 'adm-floating-panel' + export type FloatingPanelRef = { setHeight: ( height: number, @@ -137,22 +139,22 @@ export const FloatingPanel = forwardRef( props, `calc(100% + (${Math.round(y)}px))`), }} >
-
-
+
+
-
+
{props.children}