Incompatible with React 18 in strict mode
nop33 opened this issue · 18 comments
nop33 commented
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 commented
Same for me
rickyzhangca commented
Same for me
muchisx commented
same here
alagkonas commented
Same as well. What is the current status of the issue?
jmynes commented
ditto
maxcmoi89 commented
same for me
marcelo-mason commented
yep
mendela1992 commented
Same for me
KotlyaroFF commented
And same for me in Next js 14.0
theredcloak commented
same
krllstdn commented
same
rathoddeepak commented
Same
iloginow commented
Same
0shreyajha0 commented
facing same issue
loxosceles commented
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 commented
I know, right? Time to implement my own scrollbars...
joelthorner commented
ok uninstalling package...