diff --git a/src/components/ChatView.astro b/src/components/ChatView.astro index bd1d3ce..b7c0183 100644 --- a/src/components/ChatView.astro +++ b/src/components/ChatView.astro @@ -378,6 +378,8 @@ const userIsCreator = await isUserChatCreator(user.id, chat.chat.id); document.addEventListener("DOMContentLoaded", () => { const modalsController = new HystModal({ linkAttributeName: "data-hystmodal", + closeOnOverlay: false, + closeOnEsc: false, }); if (location.hash === "#chatSettings") { modalsController.open("#settingsModal");