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

Responsive: "ReferenceError: window is not defined" #2206

Closed
mrtysn opened this issue Oct 17, 2017 · 1 comment
Closed

Responsive: "ReferenceError: window is not defined" #2206

mrtysn opened this issue Oct 17, 2017 · 1 comment
Labels

Comments

@mrtysn
Copy link

mrtysn commented Oct 17, 2017

Steps

Use Responsive component in a server side rendered project.

Expected Result

The component works as expected.

Actual Result

Throws error

ReferenceError: window is not defined

Version

0.75.0

Testcase

Pull, and deploy https://github.com/mrtysn/heroku-nextjs to heroku.
OR
Visit: https://mrtysn-sui-responsive-ssr.herokuapp.com/. You might have to wait for it to "wake up" since it's a free instance.

I've stumbled upon #1990, which fixes this issue for Sticky and Visibility. Since Responsive was introduced recently at v0.73.0, I believe this occasion was not though of.

@layershifter
Copy link
Member

@mrtysn Thanks for report, was fixed in #2209

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

No branches or pull requests

2 participants