If the character has recently performed an enchantment such as "Recovery" then the animation for this repeats when you next enter the inventory. I'm pretty sure this behaviour is not intentional as I can't fathom a reason for you to want players to know what enchantment they last used.
Note: This behaviour also applies to the eating animation.
This behaviour started in version 0.3 and is persisting after patch 0.3.2.279607