Skip to content

Commit

Permalink
OV-411: * item
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy4 committed Sep 26, 2024
1 parent d20cdc8 commit aabec0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Item: React.FC<Properties> = ({
{...(type !== RowNames.BUTTON && listeners)}
{...attributes}
style={itemStyle}
zIndex={isDragging ? '100' : 'auto'}
zIndex={isDragging || selectedItem?.id === id ? '100' : 'auto'}
onClick={onClick}
data-id={id}
>
Expand Down

0 comments on commit aabec0d

Please sign in to comment.