Sébastien Lorber
Sébastien Lorber
Hi, Makes sense to have a hook for that, I'll see how I can add this to react-navigation-hooks soon
Hi, Yes I could try. I'm not going to make any major change anyway but just give more configuration options. If you want to allow me to publish on npm:...
Actually I would have expected the handler to be called with every scroll event, but the handler being throttled.
Actually I don't use Steady on the body node but smaller divs so generally the behaviors is well encapsulated
Thanks, I see :) As a cross-platform enthusiast, knowing also how it works is useful. What I understand is that it works through React-Native-Web.
@Andarist what about multiple refs as parameter, do you still prefer doing multiple hooks calls?
@Andarist just implemented a dropdown and not supporting multiple refs makes it a bit more complicated. ```ts const buttonRef = useRef(null); const dropdownRef = useRef(null); useOnClickOutside(buttonRef, event => { const...
I would say any of them. If you want "contained in all of them", you can pass the most "specific" ref only to get that behavior, or it will always...
Oh yes we could provide an extra `useAsyncCallbackAbortable` Do you want to open a PR?