You get in the way of someone walking towards you, and both of you stop. You step to the left, and so does the other person. You step to the right, so does the other person. You basically mirror each other's movements for a short time unintentionally, before finally figuring out a way.
This happens quite often in everyday life. How do I describe this in short? Is there a widely understood or immediately obvious phrase for it?
EDIT: Max Williams's answer has a link to a reddit post. One of the users there suggests "sidewalk shuffle". I've never heard of it myself, but I feel it's pretty obvious what it means. Is this a common phrase in the US or other English speaking countries?