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

Incompatible with React 18 in strict mode #343

Open
nop33 opened this issue Jan 10, 2023 · 18 comments
Open

Incompatible with React 18 in strict mode #343

nop33 opened this issue Jan 10, 2023 · 18 comments

Comments

@nop33
Copy link

nop33 commented Jan 10, 2023

What is the current behavior?

Fails to render in strict mode React 18.

Element was not created. Possibly you haven't provided HTMLDivElement to renderer's `elementRef` function.

Steps to reproduce

https://codesandbox.io/s/confident-robinson-tgd5pb

What is the expected behavior?

To properly render scrollbars.

A little about versions:

  • OS: all
  • Browser (vendor and version): all
  • React: 18
  • react-scrollbars-custom: 4.1.1
  • Did this worked in the previous package version? no
@hmidmrii
Copy link

Same for me

1 similar comment
@rickyzhangca
Copy link

Same for me

@muchisx
Copy link

muchisx commented May 3, 2023

same here

@alagkonas
Copy link

Same as well. What is the current status of the issue?

@jmynes
Copy link

jmynes commented Aug 25, 2023

ditto

@maxcmoi89
Copy link

same for me

@marcelo-mason
Copy link

yep

@mendela1992
Copy link

Same for me

@KotlyaroFF
Copy link

KotlyaroFF commented Nov 20, 2023

And same for me in Next js 14.0

@theredcloak
Copy link

same

1 similar comment
@krllstdn
Copy link

same

@rathoddeepak
Copy link

Same

1 similar comment
@iloginow
Copy link

iloginow commented Mar 2, 2024

Same

@0shreyajha0
Copy link

facing same issue

@loxosceles
Copy link

More than a year for this issue without this being addressed while 18 is still the latest official version. I guess the project is pretty much dead.

@nop33
Copy link
Author

nop33 commented Apr 6, 2024

I know, right? Time to implement my own scrollbars...

@joelthorner
Copy link

ok uninstalling package...

@1021683053
Copy link

same

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