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

Does it works with hooks? #68

Open
vsolanogo opened this issue Jan 26, 2020 · 2 comments
Open

Does it works with hooks? #68

vsolanogo opened this issue Jan 26, 2020 · 2 comments

Comments

@vsolanogo
Copy link

Using hooks in my project, but react-scrolllock doesn't work.

@flexdinesh
Copy link
Contributor

flexdinesh commented Feb 19, 2020

Hey @vsolanogo , it should work with project with hooks as hooks is just an implementation detail. What's not working for you? Can you elaborate a bit?

@rick-liruixin
Copy link

They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use. add react hooks、vue3 example

npm i body-scroll-lock-upgrade

repair log,Refer to the releases page.
[examples]:(https://github.com/rick-liruixin/body-scroll-lock-upgrade/blob/develop/examples/next/hooks/use-body-scroll-lock-upgrade.ts)

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

3 participants