I've got a database with persons and selecting a person will show the detail of that person in a screen on the right.
The list can be filtered, but i'm not really sure how to handle if the selected person is no longer "present" in the list.
For example, we have the person "Jane Doe" selected, and then we filter the list on "John". The list shows all persons named "John", but the detail pane still shows "Jane Doe".
See example:
Now a sensable solution in my mind would be to automatically select the first person in the list of the filter. But that gives me the following problem.
If we filter on "Jane", and then change her name to "Michelle" it would mean that she no longer applies to the filter, and thus will be deselected.
I'm wondering if that's a correct way of handling things or will cause a confussion with the end user.