Editing an item in a filtered list that falls out the filter

  • I have a list of items (e.g. todos)
  • I filter them by a property such as their name.
  • In the filtered list, I decided to do an inline edit (via a button click)
  • The new name falls outside of the above filter

What should I do?

  1. Leave the item with the new name with a name not matching the filter criteria. Only drop it off if I alter the filter criteria.
  2. Drop it off the list immediately.

I'm looking for guidance on best practice here and any widely seen examples.

Thanks.