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

TypeError: Cannot read property 'offsetWidth' of null #85

Open
fybchristasker opened this issue Jun 28, 2020 · 1 comment
Open

TypeError: Cannot read property 'offsetWidth' of null #85

fybchristasker opened this issue Jun 28, 2020 · 1 comment

Comments

@fybchristasker
Copy link

fybchristasker commented Jun 28, 2020

when changing browser window size,I got this error.
screen

@exitroute
Copy link

exitroute commented Feb 25, 2021

Hey @fybchristasker,

Did you manage to fix that?

I'm using it with Next but I get a similar error at:

let state = { width: this.refNode.current.offsetWidth, height: this.refNode.current.offsetHeight, };

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

No branches or pull requests

2 participants