When you dig dirt you keep going even when your inventory is full, and the dirt falls to the ground.
When digging stone, once your inventory is full you just stop.
I suggest making it so you keep going and the stones will fall to your feet. For consistency and ease of play.