Can confirm in 1.17.1 with the differential that it can delete an item and item stack.
Reproduction metod:
After performing the bug, opening and closing your inventory deletes the item, it will also works with an stack if dropped control is pressed.
edit: After closing the inventory, i am constantly inputing Q and Right Mouse Button to see if it happens to have any interactions.
Can confirm in 1.17.1 with the differential that it can delete an item and item stack.
Reproduction metod:
After performing the bug, opening and closing your inventory deletes the item, it will also works with an stack if dropped control is pressed.
edit: After closing the inventory, i am constantly inputing Q and Right Mouse Button to see if it happens to have any interactions.