Skip to content

Commit 45738ae

Browse files
fixed password visibility issue.
1 parent fe616a7 commit 45738ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ui/components/forms/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ export const FormPasswordField = (
208208
{props.showPasswordOption && (
209209
<LinkBox
210210
style={{ position: 'absolute', right: '10px', top: '36px' }}
211-
onClick={() => setShowPassword(!showPassword)}
211+
onClick={(event: any) => {
212+
event.preventDefault();
213+
setShowPassword(!showPassword);
214+
}}
212215
>
213216
<icons.eye
214217
color={showPassword ? iconColors.black : iconColors.grey}

0 commit comments

Comments
 (0)