We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the "DEBOUNCE_TIME" option and I set it to 5 seconds (5000), and it gets executed several times, and it seems it's not working:
https://imgur.com/a/TZMCYj5
This is what I do:
import WindowResizeListener from 'react-window-size-listener'; WindowResizeListener.DEBOUNCE_TIME = 5000; And in the render method: <WindowResizeListener onResize={windowSize => { console.log('resize: ', windowSize); console.log('DEBOUNCE_TIME: ', WindowResizeListener.DEBOUNCE_TIME); }} />
In the gif you can see the current behavior vs a debounce example which I took from here: https://codepen.io/bencentra/pen/PwapWX
I'm using: "react-window-size-listener": "^1.5.3"
The text was updated successfully, but these errors were encountered:
Any news about this?
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
I'm using the "DEBOUNCE_TIME" option and I set it to 5 seconds (5000), and it gets executed several times, and it seems it's not working:
https://imgur.com/a/TZMCYj5
This is what I do:
In the gif you can see the current behavior vs a debounce example which I took from here: https://codepen.io/bencentra/pen/PwapWX
I'm using:
"react-window-size-listener": "^1.5.3"
The text was updated successfully, but these errors were encountered: