Skip to content

Commit

Permalink
fix: data-row-key should exist in virtual (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi authored Apr 3, 2024
1 parent 5218e0d commit 9d9ecfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VirtualTable/BodyLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const BodyLine = React.forwardRef<HTMLDivElement, BodyLineProps>((props, ref) =>
<RowComponent
{...rowProps}
{...restProps}
data-row-key={rowKey}
ref={rowSupportExpand ? null : ref}
className={classNames(className, `${prefixCls}-row`, rowProps?.className, {
[`${prefixCls}-row-extra`]: extra,
Expand Down

0 comments on commit 9d9ecfa

Please sign in to comment.