Skip to content

Commit

Permalink
fix:配置scrolly时使用粘性定位固定表头
Browse files Browse the repository at this point in the history
  • Loading branch information
hzh11012 committed Feb 20, 2025
1 parent 50fae24 commit 9aef66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis-ui/src/components/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ export class Table extends React.PureComponent<TableProps, TableState> {
</div>
) : null}

{hasScrollY || (sticky && !autoFillHeight) ? (
{(hasScrollY || sticky) && !autoFillHeight ? (
this.renderScrollTable()
) : (
<div
Expand Down

0 comments on commit 9aef66e

Please sign in to comment.