diff --git a/playwright.config.ts b/playwright.config.ts index db7068e0..514674e3 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -30,7 +30,7 @@ export default defineConfig({ trace: process.env.CI ? 'on-first-retry' : 'on', }, - timeout: 10 * 1000, + timeout: 20 * 1000, /* Configure projects for major browsers */ projects: [ diff --git a/resources/js/packages/ui/src/Modal.vue b/resources/js/packages/ui/src/Modal.vue index 5c4b1f60..36c9b80c 100644 --- a/resources/js/packages/ui/src/Modal.vue +++ b/resources/js/packages/ui/src/Modal.vue @@ -78,7 +78,9 @@ const maxWidthClass = computed(() => { }); const target = ref(); -const { activate, deactivate } = useFocusTrap(target); +const { activate, deactivate } = useFocusTrap(target, { + allowOutsideClick: true, +}); watch( () => props.show, (value) => { diff --git a/resources/js/packages/ui/src/Project/ProjectBillableSelect.vue b/resources/js/packages/ui/src/Project/ProjectBillableSelect.vue index 172d106f..37006e5f 100644 --- a/resources/js/packages/ui/src/Project/ProjectBillableSelect.vue +++ b/resources/js/packages/ui/src/Project/ProjectBillableSelect.vue @@ -49,7 +49,10 @@ function getNameForKey(key: BillableKey | undefined) { :get-name-for-item="getNameFromItem" :items="options">