adverb, adverb taking the 'to' particle, noun or participle which takes 'suru'
carelessly; inattentively; absent-mindedly
Describes a state of being off guard, not paying attention, or letting one's mind wander, often leading to mistakes or missed opportunities. Frequently used with する or と.
うかうかしていると、電車に乗り遅れるよ。
If you're not paying attention, you'll miss the train.
うかうかと話を聞いていたら、大事な点を見逃した。
I was listening absent-mindedly and missed the important point.