From 9b13ac15136fbce8af40e9a5aafdd4ebb2428ec7 Mon Sep 17 00:00:00 2001 From: "Petter H. Juliussen" Date: Tue, 5 Sep 2023 16:01:43 +0200 Subject: [PATCH] Disable closing modals and drawers by outside click --- CHANGELOG.md | 2 ++ src/components/drawers/SliderContainer.vue | 2 +- src/components/modals/ModalWrapper.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ef04d10d..1330eeb0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ All notable changes to this project will be documented in this file. The format - Organization, department and product details are now edited from within the current item's about page. - Made links clickable in the description of objects, key results and goals. +- It is no longer possible to close open modals or drawers by clicking outside + them. This is meant to prevent accidental data loss in unsaved forms. ## [3.9.0] 2023-09-01 diff --git a/src/components/drawers/SliderContainer.vue b/src/components/drawers/SliderContainer.vue index 06f7ba11a..13fe04c23 100644 --- a/src/components/drawers/SliderContainer.vue +++ b/src/components/drawers/SliderContainer.vue @@ -1,7 +1,7 @@