What I expected to happen was...:
Items would transfer from in inventory into chest when I right click on them until the chest is full, then not be able to transfer any more items
What actually happened was...:
Chest would fill up then any items that would not fit disappear from inventory and are lost.
Steps to Reproduce:
1. Open chest that is full or has no room for other items.
2. Right click on item of stack in inventory to transfer to chest.
3. Watch items disappear.
Related issues
Comments

Thank you for your report.
However, your ticket has been resolved as a duplicate.
This issue has been linked to the original bugreport: MC-88929. You can find or add further information on that report.
Please search before reporting any bugs, as it's likely that one exists already.