Jason Quense
Jason Quense
that change looks fine, i don't think you need to add any tests for it
i wonder if maybe it's window specific issue. i'll try and debug a bit
Yeah, I don't think we want to support both API's. Esp since the component wrapper version if very simple to write. I'd suggest we put the example in the useRootClose...
@christianh25 read through the tests in the source here for examples. there is now `useRootWrapper` it is a hook version of the old component and basically functions the same way.
I'm not sure the render prop gains anything here over using a component to control how props are passed through. ```js const MyTooltip = ({ style }) => ... ```
>Otherwise there would be no way to pass the style prop. I'm not sure what you mean there, the style prop will be injected by Overlay.
They are Transition callbacks, only called when a Transition component is provided.
That'd be great :)
please provide a reproduction, thanks!
I'm not sure there is anything we can do to fix this, without waiting a tick to get the container, which doesn't work for other reasons.