fix: modal focus scroll bug (#738)
parent
055df9d28c
commit
8b219cdb73
|
@ -66,6 +66,8 @@ const { activate } = useFocusTrap(elDialogRoot, {
|
|||
allowOutsideClick: true,
|
||||
clickOutsideDeactivates: true,
|
||||
escapeDeactivates: true,
|
||||
preventScroll: true,
|
||||
returnFocusOnDeactivate: true,
|
||||
})
|
||||
|
||||
defineExpose({
|
||||
|
|
|
@ -126,6 +126,7 @@ useIntersectionObserver(video, (entries) => {
|
|||
</template>
|
||||
<template v-else>
|
||||
<button
|
||||
type="button"
|
||||
focus:outline-none
|
||||
focus:ring="2 primary inset"
|
||||
rounded-lg
|
||||
|
|
Loading…
Reference in New Issue