Opening your inventory does not cancel a stored forward press put forth to sprinting; pressing forward, then quickly opening and closing your inventory, then pressing forward again allows you to sprint. This can also be preformed by holding the inventory key + holding forward, and then releasing the inventory key when the inventory is closed.
Steps to Reproduce:
Press W
Quickly press E twice
Press W
Can confirm in 20w51a.