Skip to content

Commit

Permalink
fix(Menu): allow caret to move in input under Menu on left/right arro…
Browse files Browse the repository at this point in the history
…w press (#9751)
  • Loading branch information
adamviktora authored Oct 27, 2023
1 parent 22bd847 commit 9ac5ff9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-core/src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ class MenuBase extends React.Component<MenuProps, MenuState> {
noHorizontalArrowHandling={
document.activeElement &&
(document.activeElement.classList.contains(breadcrumbStyles.breadcrumbLink) ||
document.activeElement.classList.contains(dropdownStyles.dropdownToggle))
document.activeElement.classList.contains(dropdownStyles.dropdownToggle) ||
document.activeElement.tagName === 'INPUT')
}
noEnterHandling
noSpaceHandling
Expand Down

0 comments on commit 9ac5ff9

Please sign in to comment.