点击不让密码支付Input失去焦点
This commit is contained in:
@@ -297,7 +297,7 @@ const Withdrawal: React.FC = () => {
|
|||||||
hideFooter={true}
|
hideFooter={true}
|
||||||
style={{ bottom: isKeyboardVisible ? `${keyboardHeight}px` : undefined }}
|
style={{ bottom: isKeyboardVisible ? `${keyboardHeight}px` : undefined }}
|
||||||
>
|
>
|
||||||
<View className="popup_content" onClick={handlePopupClick}>
|
<View className="popup_content" onTouchStart={handlePopupClick} onTouchMove={handlePopupClick} onTouchEnd={handlePopupClick}>
|
||||||
<View className="popup_text">{`¥${inputValue}`}</View>
|
<View className="popup_text">{`¥${inputValue}`}</View>
|
||||||
<View className="password_container">
|
<View className="password_container">
|
||||||
{
|
{
|
||||||
@@ -308,7 +308,7 @@ const Withdrawal: React.FC = () => {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
</View>
|
</View>
|
||||||
<Input ref={inputRef} focus={isFocus} type="number" adjustPosition={false} style={{ width: "0", height: "0", opacity: "0" }} value={password.filter(item => item !== "").join("")} maxlength={6} onInput={handlePasswordInput} />
|
<Input holdKeyboard={true} ref={inputRef} focus={isFocus} type="number" adjustPosition={false} style={{ width: "0", height: "0", opacity: "0" }} value={password.filter(item => item !== "").join("")} maxlength={6} onInput={handlePasswordInput} />
|
||||||
</View>
|
</View>
|
||||||
</CommonPopup>
|
</CommonPopup>
|
||||||
</View >
|
</View >
|
||||||
|
|||||||
Reference in New Issue
Block a user