<clock-widget
...
onHover={() => setWindowVisible('calendar', true)}
onHoverLost={async () => {
await sleep(1000);
// check if calendar is in focus?
setWindowVisible('calendar', false);
}}
/>
Describe your question
I'm trying to open calendar widget by hovering or clicking on clock widget, don't have issue with that part. But I haven't figured a good way to close it. Couldn't figure out how to do it with hover. Closing by clicking on clock again works it's just too much mouse movement. Maybe pressing a key like ESC could work?
Have you read through the documentation?
Describe what have you tried so far
Describe your question
I'm trying to open calendar widget by hovering or clicking on clock widget, don't have issue with that part. But I haven't figured a good way to close it. Couldn't figure out how to do it with hover. Closing by clicking on clock again works it's just too much mouse movement. Maybe pressing a key like
ESC
could work?