react-window-size icon indicating copy to clipboard operation
react-window-size copied to clipboard

React HOC that passes browser window size to wrapped component

Results 13 react-window-size issues
Sort by recently updated
recently updated
newest added

Bumps [qs](https://github.com/ljharb/qs) and [qs](https://github.com/ljharb/qs). These dependencies needed to be updated together. Updates `qs` from 6.2.0 to 6.5.3 Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix]...

dependencies

Bumps [jsdom](https://github.com/jsdom/jsdom) from 8.5.0 to 16.5.0. Release notes Sourced from jsdom's releases. Version 16.5.0 Added window.queueMicrotask(). Added window.event. Added inputEvent.inputType. (diegohaz) Removed ondragexit from Window and friends, per a spec...

dependencies

Apparently the line 46 results in a React warning when the comp is a function component. `ref={c => { this.wrappedInstance = c; }}` Warning: Function components cannot be given refs....

I am using same structure of it, throws an error 'document is not defined'

https://github.com/finnfiddle/react-window-size/blob/e70192bc2f67281b5154cc00a2b741116c6d0536/src/index.js#L29 Is there any reasons why you would call _handleResize here ?

Upgraded peer dependency to react 16.3, and use a forwardRef to set a ref to the wrapped component, rather than a regular ref. This helps it work with function components....

My window size is around 1920x900, and it's coming up as: windowWidth: 1920 windowHeight: 135 I'm not going to use this package, but I thought it'd be handy if you...

I noticed a site I'm working on that uses this broke between 1.2.0 and 1.2.2. as you started checking `document` in the constructor which doesn't work for SSR. Are you...

![image](https://user-images.githubusercontent.com/1619007/57188692-4c8c8600-6f2d-11e9-98c3-2d0369d88d55.png)

https://github.com/finnfiddle/react-window-size/blob/e70192bc2f67281b5154cc00a2b741116c6d0536/src/index.js#L29