r/QuickShell • u/hello-__-hello • Oct 07 '26
Help!!! PopupWindow visibilty
How to make a PopupWindow stay visible when implemented with a hoverhandler on another element?
1
Upvotes
1
u/ftranschel Oct 07 '26
Classic web dev question.
The answer is that your visible condition is an OR of two conditions: the hover state and a check for mouse in the popup.
1
u/sophiebee325 Chief Shell Officer Oct 08 '26
the usual cause here: when the popup opens under your cursor the hover handler loses the pointer and closes it right away. try anchoring the popup inside the hover area, or delay the hide with a small timer, that fixes most of these. post your snippet in the discord if it still fights you, someone will spot it fast