Mateusz Burzyński

Results 1531 comments of Mateusz Burzyński

Could you describe your issue in more detail? Im using this library in an iframe and it work just fine (within iframe ofc)

> Aside from obviously not using iframes (except for maybe editor live-views, they're almost never a good thing) actually iframes are still the safest bet for installable 3rd party widgets...

He would still have to detect somehow clicks inside the iframe, but outside of the wrapped component (the one in the iframe) - I think thats why configurable documentElement is...

@Pomax I think @rmdort is right here - he describes a little bit different scenario than you. He has page X which creates components (including the one wrapped in our...

Yeah, this would have to be rewritten to plain JS to achieve cross-platform compatibility in the easiest way.

Could u share ur setup? Exact versions of `react-datetime`, also what got installed as `react-onclickoutside` and what version of `npm` are you using.

Could u paste in the code of how do you try to use this module?

I believe there is no such way at the moment. I'm gonna finish working on https://github.com/Pomax/react-onclickoutside/pull/246 soon-ish, I will make sure that this rewrite is gonna cover your use case.

Also probably you could solve it with similar approach as here - https://github.com/andreypopp/react-textarea-autosize#how-to-test-it-with-jest-and-react-test-renderer