At this point in my life I don't believe it would be a distraction for me at all. I've actually been in this situation a couple of times. Maybe one time I developed a bit of a crush on the person, but it was manageable (and probably invisible to her) and did not affect the work.