I can't swap or discard inventory items when I try to pick something up

When your inventory is full, you are unable to swap an item with one that you are trying to pick up. In order to replace an item with a new one, you have to manually close out and discard the existing item. It would be highly appreciated to have these features available to make inventory management easier.