Yidadaa 1 năm trước cách đây
mục cha
commit
52203b50eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/components/ui-lib.tsx

+ 1 - 1
app/components/ui-lib.tsx

@@ -448,7 +448,7 @@ export function Selector<T>(props: {
   multiple?: boolean;
 }) {
   return (
-    <div className={styles["selector"]}>
+    <div className={styles["selector"]} onClick={() => props.onClose?.()}>
       <div className={styles["selector-content"]}>
         <List>
           {props.items.map((item, i) => {