Skip to content

Fix: discard empty todo rows on blur - #59

Merged
Raeedzz merged 1 commit into
mainfrom
Raeedzz/remove-browser-and-add-todo
Jul 8, 2026
Merged

Fix: discard empty todo rows on blur#59
Raeedzz merged 1 commit into
mainfrom
Raeedzz/remove-browser-and-add-todo

Conversation

@Raeedzz

@Raeedzz Raeedzz commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Empty todo rows now auto-remove when you click away, instead of lingering as blank "Todo" placeholders.

  • Added onBlur handling to the todo textarea that removes the row when it loses focus while its text is empty (skips done/read-only rows).
  • Wired through a new onBlurEmpty prop to remove(id, false) so it disappears quietly without a focus jump.

Typecheck passes.

🤖 Generated with Claude Code

…lders

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Raeedzz
Raeedzz merged commit 74cb6c8 into main Jul 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant