Skip to content

Commit

Permalink
KDropdownMenu drill containFocus prop into UiPopover
Browse files Browse the repository at this point in the history
Rather than defaulting to true, give the user the option here
  • Loading branch information
nucleogenesis committed Oct 12, 2023
1 parent 66f14dc commit 0feedb2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/KDropdownMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<UiPopover
ref="popover"
:z-index="12"
:containFocus="true"
:containFocus="containFocus"
:dropdownPosition="position"
@close="handleClose"
@open="handleOpen"
Expand Down Expand Up @@ -52,6 +52,13 @@
type: Boolean,
default: false,
},
/**
*
*/
containFocus: {
type: Boolean,
default: true,
},
/**
* The position of the dropdown relative to the button
*/
Expand Down

0 comments on commit 0feedb2

Please sign in to comment.