Skip to content

Commit

Permalink
Dropdown Expandable - QA review fixing disabled states (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-cedrone-cengage authored and silvalaura committed Sep 18, 2024
1 parent 4170740 commit 09d9d73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/fix-expandableDropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'react-magma-dom': patch
---

fix(Dropdown): Fixes from QA review of the Dropdown Expandable sub component.
fix(Dropdown): Fixes from QA review of the Dropdown Expandable sub component disabled states.
5 changes: 5 additions & 0 deletions .changeset/fix-expandableDropdownDisabled.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': patch
---

feat(DropdownExpandableMenu): A new menu item display for the Dropdown component which enables expandable lists by one level.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const DropdownExpandableMenuListItem = React.forwardRef<
HTMLDivElement,
DropdownExpandableMenuListItemProps
>((props, forwardedRef) => {
const { children, ...other } = props;
const { children, disabled, ...other } = props;

const ownRef = React.useRef<HTMLDivElement>();
const theme = React.useContext(ThemeContext);
Expand Down

0 comments on commit 09d9d73

Please sign in to comment.