whimsically

US /ˈwɪm.zɪ.kəl.i/
UK /ˈwɪm.zɪ.kəl.i/
1.

気まぐれに

in a whimsical way (= unusual and strange in a way that might be funny or annoying):

:
He was whimsically charming and especially warm with children.