Ryan Campbell

Results 10 comments of Ryan Campbell

i'm just gonna delete the dev tools lol, this is a joke

Can we return to the question at hand? Or is there a way to go back to pre-1.8.0 functionality (i.e. letting invalid CSS pass) using an argument or something?

@grosser pinging on this. is there a way to pass something so that we can return to the pre-1.8.0 functionality?

let's say we have two modals on the screen, both in portals, and we want to close both of them if the user clicks the space outside of either one...

they wouldnt stack/overlap, no, but we'd want to detect a click outside of either one of them

`export default (refs, handler) => refs.forEach(ref => useOnClickOutside(ref, handler))` won't work because if you click inside modal 2, you're also clicking outside modal 1, so the callback will trigger, when...

I think the example in https://codepen.io/tinystride/pen/bcEJv shows what I'm after (even thought that example has its own problems, namely that any scrolling content exists overtop of the shadow and thus...

@grosser i have a fix but i don't have access rights, do i have to push to a fork or something?

PR looks great, any progress on getting this approved? would help my org as well

same issue here, would love a response, seems like it's been a whole since this was looked at