While keeping inventory is true, and the player eats something at a low health and gets killed before they finish the food, the game goes on playing eating animation, and after a proper length of time, the food is finished, one food is substracted from the inventory, but no player revives.
This seems pointless, because the player's hunger refills after clicking respawn, so the food is wasted. Plus it is weird to see a dead player still eating.
My proposal: either eating is interrupted while keeping inventory, or the food is not eaten up and taken away from the player.
Thank you for your report!
We're tracking this issue in MC-133218, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
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