Skip to content

Commit

Permalink
fix(list-item): reflect the sortHandleOpen property.
Browse files Browse the repository at this point in the history
  • Loading branch information
driskull committed Jan 16, 2025
1 parent 1044878 commit ca3a2a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ describe("calcite-list-item", () => {
propertyName: "iconFlipRtl",
defaultValue: undefined,
},
{
propertyName: "sortHandleOpen",
defaultValue: false,
},
]);
});

Expand All @@ -82,6 +86,10 @@ describe("calcite-list-item", () => {
propertyName: "unavailable",
value: true,
},
{
propertyName: "sortHandleOpen",
value: true,
},
]);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class ListItem
@property() setSize: number = null;

/** When `true`, displays and positions the sort handle. */
@property() sortHandleOpen = false;
@property({ reflect: true }) sortHandleOpen = false;

/** When `true`, the component's content appears inactive. */
@property({ reflect: true }) unavailable = false;
Expand Down

0 comments on commit ca3a2a9

Please sign in to comment.