Skip to content

Commit

Permalink
Merge pull request #1351 from nextcloud/feature/noid/boundaries-eleme…
Browse files Browse the repository at this point in the history
…nt-for-actions

Allow to choose boundariesElement for actions' popover
  • Loading branch information
ChristophWurst committed Aug 26, 2020
2 parents 61ab3d2 + 1f61494 commit eec177b
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 eec177b

Please sign in to comment.