Skip to content

Commit ce06250

Browse files
Copilothzb666
andcommitted
fix(frontend): reset caps lock state on password blur
Agent-Logs-Url: https://github.com/hzb666/LabStorageManager/sessions/0984167f-16d3-4bcb-b84f-266bd4a206a5 Co-authored-by: hzb666 <29155232+hzb666@users.noreply.github.com>
1 parent ffac72c commit ce06250

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/ui/PasswordInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function PasswordInput({
4646
}}
4747
onBlur={(event) => {
4848
setIsFocused(false)
49+
setIsCapsLockOn(false)
4950
onBlur?.(event)
5051
}}
5152
onKeyDown={(event) => {

0 commit comments

Comments
 (0)