modal: prevent keystroke escape (fix #362)
parent
a4f276b605
commit
284901537d
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue