I'm struggling with click__out event #708
Replies: 2 comments 1 reply
-
There is not much traffic here any more given that nicegui has 8x more stars than justpy. |
Beta Was this translation helpful? Give feedback.
1 reply
-
see issue #704 - feel free to take the lead in this project |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically I'm trying to implement a simple functionality. A button when clicked opens a popup (div). Then when clicked outside the popup I want it to be hidden. I used 'click' event on the button and 'click__out' event on the popup. The problem is that clicking on the button triggers the 'click__out' event too so the popup gets closed immediately.
I tried different approaches with no success. The click__out target attribute doesn't seem to indicate the button.
Any idea how to fix it?
Best regards,
Michał Błaszak
Beta Was this translation helpful? Give feedback.
All reactions