Put the summary of the bug you're having here
What I expected to happen was...:
Describe what you thought should happen here
What actually happened was...:
Describe what happened here
Steps to Reproduce:
1. Go to options then controls
2. scroll to open/close inventory
3. change the key to tab
4. Then press done go back to the game and you can open but no close inventory.
Related issues
Comments

This issue duplicates MC-145691.
If you have not already, please use the search function to see if your issue has already been reported.