If you are in creative and open your inventory, then click on an item (So it is following/on your cursor) then exit your inventory, when you next open your inventory, it will still be on your cursor. If you change to survival and die when it is still on your cursor, it won't drop where you died (But the other stuff will). If you try this in survival, it will just snap to the first available slot when you exit your inventory.
Linked issues
Comments

Thank you for your report!
We're tracking this issue in MC-229985, 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
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Duplicate ofย MC-229985.