Skip to content

Commit

Permalink
Allow to choose boundariesElement for actions
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
  • Loading branch information
marcoambrosini committed Aug 26, 2020
1 parent 61ab3d2 commit 1f61494
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/Actions/Actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-action
:handle-resize="true"
:open.sync="opened"
:placement="placement"
boundaries-element="body"
:boundaries-element="boundariesElement"
container="body"
@show="openMenu"
@apply-show="onOpen"
Expand Down Expand Up @@ -261,6 +261,14 @@ export default {
type: String,
default: 'bottom',
},
/**
* DOM element for the actions' popover boundaries
*/
boundariesElement: {
type: String,
default: 'body',
},
},
data() {
Expand Down

0 comments on commit 1f61494

Please sign in to comment.