Skip to content

Commit

Permalink
fix(Datagrid): remove redundant aria disabled (#6103)
Browse files Browse the repository at this point in the history
* fix(Datagrid): remove redundant aria disabled

* fix(datagrid): aria disaled update
  • Loading branch information
sangeethababu9223 committed Sep 25, 2024
1 parent 15ec2a5 commit 5b58d50
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const DraggableElement = ({
disabled,
id,
});

const content = (
<>
<div
Expand All @@ -66,7 +65,6 @@ const DraggableElement = ({
transform: !disabled ? CSS.Transform.toString(transform) : undefined,
transition,
};

return (
<li
className={cx(classList, `${blockClass}__draggable-handleHolder`, {
Expand All @@ -79,6 +77,7 @@ const DraggableElement = ({
style={style}
{...attributes}
{...listeners}
aria-disabled={undefined}
aria-selected={selected}
role="option"
>
Expand Down

0 comments on commit 5b58d50

Please sign in to comment.