benrhughes / todotxt.net

An implementation of todo.txt for Windows using the .NET framework
http://benrhughes.github.io/todotxt.net/
Other
500 stars 123 forks source link

Loss of focus when cancelling adding a new task on empty filtered list #344

Open SzymonSzott opened 6 years ago

SzymonSzott commented 6 years ago

Steps to recreate:

  1. Apply a filter which generates an empty list
  2. Create a new task
  3. Cancel by pressing Escape

The focus remains in the task entry bar. Had the list contained items, the focus would have moved to the task list. The problem with the focus remaining in the entry bar is that this precludes the use of keyboard shortcuts (such as applying a different filter).