svelte-use-click-outside
svelte-use-click-outside copied to clipboard
Executes when click happens inside a nested component
I am using the directive on a div and have another component inside it, when I click on the nested component it executes the function I connected to the directive
The component is inside a slot that is inside the div with the directive
Hi, can you provide a code example?
Sure! I'll try to replicate the problem in a codesandbox example so that you can test it live. 🙌🏻
I'll come back with it ASAP
@phaberest were you able to figure this out? I'm facing a similar issue.
@phaberest were you able to figure this out? I'm facing a similar issue.
Can you provide an example that I can reproduce?
I'm sorry guys, I'm afraid I opted for another approach and totally forgot to come back here. Weird it affected only the two of us @pasevin 👀