Is it wrong

Is it wrong for me to still be attracted to my daughters father after we've been split up for years? We are still friends on Facebook and he post pictures and I'm like cute but I get upset when he's with other chicks 
I have a bf I shouldn't feel this way makes me feel so bad