revert: change in core component

This commit is contained in:
ShubhamPalriwala
2024-06-08 05:47:47 +05:30
parent 9d46c269d4
commit e5b7ebbabf

View File

@@ -96,12 +96,8 @@ export const SecretInput = forwardRef<HTMLTextAreaElement, Props>(
}} }}
disabled={isDisabled} disabled={isDisabled}
spellCheck={false} spellCheck={false}
onKeyDown={(evt) => { onBlur={(evt) => {
if (evt.key === "Tab") { onBlur?.(evt);
setIsSecretFocused.off();
}
}}
onBlur={() => {
setIsSecretFocused.off(); setIsSecretFocused.off();
}} }}
value={value || ""} value={value || ""}