Skip to content

Commit

Permalink
fix: set bodylock as default true
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Apr 28, 2024
1 parent c170e80 commit f790559
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/radix-vue/src/Select/SelectContentImpl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ export interface SelectContentImplProps extends PopperContentProps {
* `popper` - positions content in the same way as our other primitives, for example `Popover` or `DropdownMenu`.
*/
position?: 'item-aligned' | 'popper'
/** The document.body will be lock, and scrolling will be disabled. */
/**
* The document.body will be lock, and scrolling will be disabled.
*
* @defaultValue true
*/
bodyLock?: boolean
}
Expand All @@ -92,6 +96,7 @@ import { focusFirst } from '@/Menu/utils'
const props = withDefaults(defineProps<SelectContentImplProps>(), {
align: 'start',
position: 'item-aligned',
bodyLock: true,
})
const emits = defineEmits<SelectContentImplEmits>()
Expand Down

0 comments on commit f790559

Please sign in to comment.