My ex boyfriend (non parent) wants custody/visitation.

My ex and my myself were together a little less than a year. My 3 year old calls him daddy and loves him to death. He’s now threatening me with getting some rights to my child. I know there is a doctrine where they possibly could I believe. Anyone else experience this or ever heard of this?