Etymology
Today it means: While daydreaming. Full definition →
From daydreaming + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.