Skip to content

Commit 1cd858b

Browse files
committed
Added load data onBlur
1 parent 9bbaa97 commit 1cd858b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/GitSequencer.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,10 @@ const GitSequencer = () => {
732732
onBlur={() => {
733733
// Hide cursor when not focused
734734
setShowCursor(false);
735+
// Auto-load on click outside if valid
736+
if (username.trim() && !isLoading) {
737+
handleSearch({ preventDefault: () => { } });
738+
}
735739
}}
736740
placeholder="username"
737741
disabled={isLoading}

0 commit comments

Comments
 (0)