fix(editor): database block columns popover closes unexpectedly (#11352)

fix: BS-2906
This commit is contained in:
zzj3720
2025-04-01 10:32:23 +00:00
parent 7af5e53838
commit 08327b14d6
6 changed files with 31 additions and 12 deletions

View File

@@ -352,7 +352,10 @@ const FileCellComponent: ForwardRefRenderFunction<
const renderPopoverContent = () => {
if (fileList.length === 0) {
return (
<div className={styles.uploadPopoverContainer}>
<div
data-peek-view-wrapper="true"
className={styles.uploadPopoverContainer}
>
<Button
onClick={() => {
openFileOrFiles({ multiple: true })
@@ -383,7 +386,10 @@ const FileCellComponent: ForwardRefRenderFunction<
);
}
return (
<div className={styles.filePopoverContainer}>
<div
data-peek-view-wrapper="true"
className={styles.filePopoverContainer}
>
<div className={styles.fileListContainer}>
{fileList.map(file => (
<FileListItem

View File

@@ -302,6 +302,7 @@ export const MultiMemberSelect: React.FC<MemberManagerOptions> = props => {
return (
<div
data-peek-view-wrapper="true"
className={styles.multiMemberSelectContainer}
onClick={() => inputRef.current?.focus()}
>