Skip to content

Commit 2971884

Browse files
authored
fix(Table): fixedHeadのテーブルコンポネントが縦スクロール出来なくなっている (#6275)
1 parent 0ca4bc6 commit 2971884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/smarthr-ui/src/components/Table/TableScrollContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const TableScrollContext = forwardRef<HTMLDivElement, Props>(
5959
}, [fixedHead])
6060

6161
return (
62-
<Scroller {...rest} ref={setRefs} direction="horizontal" className={classNames.wrapper}>
62+
<Scroller {...rest} ref={setRefs} direction="both" className={classNames.wrapper}>
6363
{children}
6464
</Scroller>
6565
)

0 commit comments

Comments
 (0)