rebound relationship
A romantic relationship that one begins, often as a means of distraction, while still recovering from the end of a different relationship. Oh, Peggy doesn't really love that guy—she's just in a rebound relationship so that she doesn't feel so heartbroken about Pat leaving her.