Vacuum Stopping when lifted

I’ve been having a problem recently. Whenever I lift up my vacuum while using it, it’s like something comes disconnected and stops until I put it down. It even happened sometimes when I pull the vacuum backwards which is the most frustrating. Is this a common problem people are having? Both of my vacuums are doing this.