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

calcSize throws error: Cannot read property 'offsetWidth' of null #210

Open
NNSTH opened this issue Nov 10, 2019 · 0 comments · Fixed by locus-taxy/react-popover#2
Open

Comments

@NNSTH
Copy link

NNSTH commented Nov 10, 2019

this error is thrown within the throttled "onPopoverResize" function.

a quick fix for it will be to check if el != null at this line of code.

NNSTH added a commit to NNSTH/react-popover that referenced this issue Nov 10, 2019
calcSize throws error: Cannot read property 'offsetWidth' of null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant