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

document is not defined #1

Open
sarahk opened this issue Mar 17, 2022 · 2 comments
Open

document is not defined #1

sarahk opened this issue Mar 17, 2022 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@sarahk
Copy link

sarahk commented Mar 17, 2022

I'm trying to run this in nextjs but getting "document is not defined" for your two container example

https://github.com/jpribyl/react-hook-dragula/blob/main/example/src/examples/TwoContainerExample.tsx

in the terminal

error - ReferenceError: document is not defined

in console

test:1 GET https://localhost:3000/test 500 (Internal Server Error)

There are no compilation errors. What needs to be adjusted?

@jpribyl
Copy link
Owner

jpribyl commented Mar 31, 2022

Seems to be working in the live demo- can you provide code which will reproduce it? (I have never used nextjs so I'm not shocked that it would break but curious why)

@jpribyl jpribyl added help wanted Extra attention is needed question Further information is requested labels Mar 31, 2022
@jpribyl
Copy link
Owner

jpribyl commented Jun 14, 2022

Haven't quite had a chance to get to this yet but hoping to soon! @sarahk have you discovered anything new here since March?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants