このコミットが含まれているのは:
2026-10-27 01:11:13 +09:00
コミット 30b5fe5f05
17個のファイルの変更、766行の追加、168行の削除
+3 -1
ファイルの表示
@@ -16,6 +16,7 @@ type Props = {
className?: string
maxWidth?: number
maxWidthRatio?: number
animateLayout?: boolean
onWidthChange?: (width: number) => void
sidebarKey: string
side?: SidebarSide }
@@ -69,6 +70,7 @@ const SidebarComponent: FC<Props> = ({
className,
maxWidth,
maxWidthRatio,
animateLayout = true,
onWidthChange,
sidebarKey,
side = 'left',
@@ -316,7 +318,7 @@ const SidebarComponent: FC<Props> = ({
return (
<motion.div
ref={rootRef}
layout={animationMode === 'off' ? false : 'position'}
layout={(animationMode === 'off' || !animateLayout) ? false : 'position'}
transition={{ layout: layoutTransition }}
style={style}
className={cn (