Hi, I have come to report a bug that I found in minecraft 21w20a (I don't know if this happens in minecraft 1.16.5) but hey, I'll explain
The bug consists of grabbing an item from the creative's inventory and closing the inventory, the item will remain in the inventory but as a ghost item, but then if you open the inventory again, grab the item and leave it as it should, then the bug will be fixed.
Thank you for your report!
We're tracking this issue in MC-225010, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki