Your question is clear, although limited in its example.
At worst, such a person is a monomaniac
= suffering from or relating to monomania (= a condition in which someone is extremely interested in one thing)
They may be described as monomaniacal
However, the term is for extreme cases and another milder word is to describe the person as fixated