From 3fb25d03b7511297bad2ee90edc646db029140c9 Mon Sep 17 00:00:00 2001 From: Suraj Karambe Date: Sat, 7 Sep 2024 01:39:17 +0530 Subject: [PATCH 1/2] Added MenuListProps prop to user menu --- components/src/core/UserMenu/UserMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/src/core/UserMenu/UserMenu.tsx b/components/src/core/UserMenu/UserMenu.tsx index 1844b7c3a..b766d244b 100644 --- a/components/src/core/UserMenu/UserMenu.tsx +++ b/components/src/core/UserMenu/UserMenu.tsx @@ -291,8 +291,8 @@ const UserMenuRender: React.ForwardRefRenderFunction = ( open={Boolean(anchorEl)} anchorEl={anchorEl} onClose={closeMenu} + MenuListProps={{ style: { padding: 0 }, ...MenuProps.MenuListProps }} {...MenuProps} - MenuListProps={{ style: { padding: 0 } }} > {printMenu()} From 47e49e30fedfe6bd84293ade30ca422823c6abed Mon Sep 17 00:00:00 2001 From: Suraj Karambe Date: Sat, 7 Sep 2024 01:53:16 +0530 Subject: [PATCH 2/2] Updated package version and changelog --- CHANGELOG.md | 6 ++++++ components/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ec46d5b5..08abcc059 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v6.3.1 (Unreleased) + +### Fixed + +- Issue with `MenuListProps` in `` component ([#893](https://github.com/etn-ccis/blui-react-component-library/issues/893)). + ## v6.3.0 (April 12, 2023) ### Removed diff --git a/components/package.json b/components/package.json index 76b772387..ffb47edf5 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "@brightlayer-ui/react-components", - "version": "6.3.0", + "version": "6.3.1", "description": "React components for Brightlayer UI applications", "scripts": { "test": "jest src",