优化键盘
This commit is contained in:
@@ -157,7 +157,8 @@ const EditModal: React.FC<EditModalProps> = ({
|
|||||||
onInput={handle_input_change}
|
onInput={handle_input_change}
|
||||||
adjustPosition={false}
|
adjustPosition={false}
|
||||||
confirmType="done"
|
confirmType="done"
|
||||||
autoFocus={true}
|
// autoFocus={true}
|
||||||
|
onConfirm={handle_save}
|
||||||
/>
|
/>
|
||||||
<View className="char_count">
|
<View className="char_count">
|
||||||
<Text
|
<Text
|
||||||
@@ -177,8 +178,9 @@ const EditModal: React.FC<EditModalProps> = ({
|
|||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
// maxlength={maxLength}
|
// maxlength={maxLength}
|
||||||
onInput={handle_input_change}
|
onInput={handle_input_change}
|
||||||
autoFocus={true}
|
// autoFocus={true}
|
||||||
adjustPosition={false}
|
adjustPosition={false}
|
||||||
|
onConfirm={handle_save}
|
||||||
/>
|
/>
|
||||||
<View className="char_count">
|
<View className="char_count">
|
||||||
<Text
|
<Text
|
||||||
|
|||||||
Reference in New Issue
Block a user