fix(mobile): setting item popover cannot be closed (#8910)

fix AF-1798
This commit is contained in:
pengx17
2024-11-25 05:54:48 +00:00
parent b369ee0cca
commit f6eb84a8e0
8 changed files with 96 additions and 27 deletions
@@ -97,7 +97,8 @@ const MobileRichTextCell = ({
const [open, setOpen] = useState(false);
const name = useLiveData(cell.property.name$);
return (
<PropertyValue onClick={() => setOpen(true)}>
<>
<PropertyValue onClick={() => setOpen(true)}></PropertyValue>
<ConfigModal
onBack={() => setOpen(false)}
open={open}
@@ -125,7 +126,7 @@ const MobileRichTextCell = ({
onChange={onChange}
rowId={rowId}
/>
</PropertyValue>
</>
);
};