한눈팔다

look away from; be distracted; pay attention to something else

Explanation

look away from; be distracted; pay attention to something else
To look at other things, not something one is expected to pay attention to.