I was going to try to beat minecraft only using my mouse just for fun, but then i changed the inventory button to the middle mouse button, it opened normally but it only closed if i pressed ESC. All the keyboard keys work, but if i put it on any of my mouse buttons(my mouse is a 5 button mouse) it only closes if i press ESC.
To recreate it just press esc, go to options, controls and change the inventory button to any mouse button.
Related issues
Comments


The bug I reported is a different bug. My problem is that when you rebind your inventory key to any mouse button, it opens but doesn't close, nothing about droping items.

It includes your issue as well.
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-577, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord