My application looks like this:
The user may select an item from the list and a preview of this item will be displayed:
The user can also use filtering to reduce the number of displayed items. The problem is, if the user enters such a filter, that currently selected item is no longer visible, it's preview remains on screen:
So I've decided that the preview should be hidden in this case, but I'm not sure when to do it. I have two options:
- Hide the preview immediately after the filter box is shown.
- Hide preview only when currently selected item is no longer visible due to applied filter.
I personally favor the 1st option, because I believe if the user wants to filter items, it is likely that he is no longer interested in the current item.