Skip to content
New issue

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

feat(resize): listen for resize on window only (since it is not suppo… #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nayish1
Copy link

@nayish1 nayish1 commented Jan 24, 2018

Since resize event is not supported on elements other than window, we should always listen for this event on the window element (also when not using useWindow)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants