We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-close
when auto-close prop is used, clicking outside of modal and using esc do not actually close the modal. Instead I get the error
Scripts may close only the windows that were opened by them.
It doesn't seem like auto-close is used much, so not sure when it broke
my modal component
<script lang="ts" setup> import { computed } from 'vue' const props = defineProps<{ isOpen: boolean, }>() const emits = defineEmits<{ 'update:isOpen': [value: boolean], }>() const isOpen = computed({ get() { return props.isOpen }, set(value) { emits('update:isOpen', value) }, }) </script> <template> <p-modal v-model:show-modal="isOpen" class="season-selection-modal" auto-close> season-selection-modal </p-modal> </template>
prefect-design.mjs:20377 Scripts may close only the windows that were opened by them.
"@prefecthq/prefect-design": "2.0.11",
"vue": "^3.3.4", "vite": "^4.4.5", "vue-tsc": "^1.8.5"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First check
Bug summary
when
auto-close
prop is used, clicking outside of modal and using esc do not actually close the modal. Instead I get the errorIt doesn't seem like
auto-close
is used much, so not sure when it brokeReproduction
my modal component
Error
Versions
Additional context
"vue": "^3.3.4",
"vite": "^4.4.5",
"vue-tsc": "^1.8.5"
The text was updated successfully, but these errors were encountered: