Skip to content

Commit

Permalink
fix: 修复 stickyRight 取值错误
Browse files Browse the repository at this point in the history
  • Loading branch information
feichao93 committed Apr 4, 2021
1 parent fef8f2d commit 0bc61c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ali-react-table/src/base-table/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default function TableHeader({ info }: { info: RenderInfo }) {
positionStyle.left = stickyLeftMap.get(colIndex)
} else if (colIndex >= fullFlatCount - rightFlatCount) {
positionStyle.position = 'sticky'
positionStyle.right = stickyRightMap.get(colIndex)
positionStyle.right = stickyRightMap.get(colIndex + colSpan - 1)
}

return (
Expand Down

0 comments on commit 0bc61c1

Please sign in to comment.