Skip to content

Commit

Permalink
fix(OverflowMenu): set focusTrap prop on FloatingMenu (#6978)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] authored Oct 6, 2020
1 parent e04c7cc commit 09d5aaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/OverflowMenu/OverflowMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ class OverflowMenu extends Component {

const wrappedMenuBody = (
<FloatingMenu
focusTrap
triggerRef={this._triggerRef}
menuDirection={direction}
menuOffset={flipped ? menuOffsetFlip : menuOffset}
Expand Down

0 comments on commit 09d5aaa

Please sign in to comment.