modal: prevent keystroke escape (fix #362)

pull/387/head
Varun Patil 2023-01-21 09:07:58 -08:00
parent a4f276b605
commit 284901537d
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
<template>
<NcModal
:size="size"
@close="close"
:outTransition="true"
:style="{ width: isSidebarShown ? `calc(100% - ${sidebarWidth}px)` : null }"
:additionalTrapElements="trapElements"
@close="close"
>
<div class="container">
<div class="container" @keydown.stop="true">
<div class="head">
<span> <slot name="title"></slot> </span>
</div>