bug: onclickoutside component @trigger not working
See original GitHub issueHello,
I have the feeling the @trigger
of the onclickoutside component is not working. The function version does work as expected.
I have created a example repo of the bug -> https://github.com/wouterkroes/onclickoutside-bug.
I have implemented both versions (function & component) of onclickoutside.
In the demo you can see that the functionCount
updates as expected. But the componentCount
does not.
Greetings,
Wouter
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
handleClickOutside not called when clicking on a disabled ...
I think I've come across a bug in this library where clicking on a disabled button does not trigger handleClickOutside.
Read more >Detect click outside React component - Stack Overflow
To make outer clicks work, choose a different click listener than document - nothing upwards including body . E.g. add a listener on...
Read more >How to detect a click outside a React component
onClickOutside : sets a callback that we need to trigger when there is an outside click event; show : refers to the visibility...
Read more >react-onclickoutside/README.md - UNPKG
5, # An onClickOutside wrapper for React components ... 15, problems with the `classList` property for SVG elements). If your code relies on....
Read more >Best VueUse Composables - Vue Mastery
Unless, of course, you're using the onClickOutside composable from ... break out</button> <button tab-index="-1">Stuck here forever</button> ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also
onClickOutside
does not work in Safari (desktop, mobile)This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.