fix(frontend): ユーザー選択ダイアログが表示されない問題を修正

Fix #10809
This commit is contained in:
syuilo 2023-05-09 13:57:43 +09:00
parent e382f74bb3
commit 80619260c1
2 changed files with 15 additions and 4 deletions

View File

@ -11,6 +11,18 @@
-
-->
## 13.x.x (unreleased)
### General
-
### Client
- Fix: ユーザー選択ダイアログが表示されない問題を修正
### Server
-
## 13.12.0
### NOTE

View File

@ -1,6 +1,6 @@
<template>
<MkModal ref="modal" :prefer-type="'dialog'" @click="onBgClick" @closed="$emit('closed')">
<div ref="rootEl" class="ebkgoccj" :style="{ width: `${width}px`, height: height ? `${height}px` : null }" @keydown="onKeydown">
<div ref="rootEl" class="ebkgoccj" :style="{ width: `${width}px`, height: `min(${height}px, 100%)` }" @keydown="onKeydown">
<div ref="headerEl" class="header">
<button v-if="withOkButton" class="_button" @click="$emit('close')"><i class="ti ti-x"></i></button>
<span class="title">
@ -24,12 +24,12 @@ const props = withDefaults(defineProps<{
withOkButton: boolean;
okButtonDisabled: boolean;
width: number;
height: number | null;
height: number;
}>(), {
withOkButton: false,
okButtonDisabled: false,
width: 400,
height: null,
height: 500,
});
const emit = defineEmits<{
@ -84,7 +84,6 @@ defineExpose({
<style lang="scss" scoped>
.ebkgoccj {
margin: auto;
max-height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;