Skip to content

Commit

Permalink
Merge pull request #113 from rebeccaalpert/kebab-dropdown
Browse files Browse the repository at this point in the history
fix(ChatbotHeaderOptionsDropdown): Prevent overflow on kebab menu
  • Loading branch information
nicolethoen authored Sep 9, 2024
2 parents 60c9a0b + e1d911a commit 164a6fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const ChatbotHeaderOptionsDropdown: React.FunctionComponent<ChatbotHeader
setIsOptionsMenuOpen(false);
}}
onOpenChange={(isOpen) => setIsOptionsMenuOpen(isOpen)}
popperProps={{ position: 'right' }}
popperProps={{ position: 'right', preventOverflow: true }}
shouldFocusToggleOnSelect
shouldFocusFirstItemOnOpen={false}
toggle={toggle}
Expand Down

0 comments on commit 164a6fb

Please sign in to comment.