We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c38bf3 + 93fa20e commit e517f0eCopy full SHA for e517f0e
packages/vue-spring-bottom-sheet/src/BottomSheet.vue
@@ -105,7 +105,7 @@ const isWindowRootScrollLocked = useScrollLock(document.documentElement)
105
106
const focusTrap = useFocusTrap([sheet, backdrop], {
107
immediate: false,
108
- fallbackFocus: () => sheet.value || document.body,
+ fallbackFocus: () => sheet.value?.$el || document.body,
109
})
110
111
function handleTouchMove(event: TouchEvent) {
0 commit comments