We have been working together for years and have always got along. Both married/kids. This year we had to work on a few projects together so had to spend more time together. He’s a smart guy and nice to talk to in comparison to some other colleagues but lately, I noticed he’s more flirty, compliments me on my work, he’s telling others how great I am to work with and asked me to join his team (I would report to him). He’s always looking to chat/comes over my desk. He doesn’t do this with other people and our conversations do go more on a personal level. Nothing unprofessional apart from that. Certainly no drinks/no messages.
Now I am wondering if I have low self-esteem because I am flattered by this guy and on the other hand maybe he’s not flirty at all and I have built this picture in my head. But what’s happening now is that I like this attention and when he doesn’t come over I feel down. That’s so lame and it’s now interfering with my work.
Apart from distancing - which I am doing now - what else is would work in this instance?