Skip to content

Commit d3845fb

Browse files
committed
feat(ui-menu): remove fade in/out transitions from menu items
1 parent f8bdf91 commit d3845fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/ui-menu/src/Menu/MenuItem/styles.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ const generateStyle = (
9393
lineHeight: componentTheme.lineHeight,
9494
fontSize: componentTheme.fontSize,
9595
background: componentTheme.background,
96-
transition: 'background 0.2s',
9796
// Changing the following to display: flex; causes a VO
9897
// bug where items with role menuitem, menuitemcheckbox
9998
// and menuitemradio are selected twice with control+
@@ -103,7 +102,6 @@ const generateStyle = (
103102
...roleStyles,
104103
'&:focus, &:active, &:hover': {
105104
background: componentTheme.activeBackground,
106-
transition: 'background 0s',
107105
'[class*="menuItem__label"]': {
108106
color: componentTheme.activeLabelColor
109107
},

0 commit comments

Comments
 (0)