Skip to content

Commit

Permalink
fix: z-index on one-of-select
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Dec 19, 2024
1 parent 89d32b3 commit 5ab977a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/components/nodes/one-of-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const onChange = (/** @type {string} */childTree) => {
const fieldProps = computed(() => {
const fieldProps = { ...inputProps.value }
fieldProps['onUpdate:modelValue'] = onChange
if (!props.modelValue.options.readOnly) {
// vuetify zIndex stacking is buggy (for example https://github.com/vuetifyjs/vuetify/issues/16251)
fieldProps.menuProps = { zIndex: 3000 }
}
const items = []
for (const childTreePointer of skeleton.value.childrenTrees || []) {
const childTree = props.statefulLayout.compiledLayout.skeletonTrees[childTreePointer]
Expand Down

0 comments on commit 5ab977a

Please sign in to comment.