xobotyi / react-scrollbars-custom

The best React custom scrollbars component
https://xobotyi.github.io/react-scrollbars-custom/
MIT License
845 stars 75 forks source link

Incompatible with React 18 in strict mode #343

Open nop33 opened 1 year ago

nop33 commented 1 year ago

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:

hmidmrii commented 1 year ago

Same for me

rickyzhangca commented 1 year ago

Same for me

muchisx commented 1 year ago

same here

alagkonas commented 1 year ago

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

jmynes commented 1 year ago

ditto

maxcmoi89 commented 1 year ago

same for me

marcelo-mason commented 1 year ago

yep

mendela1992 commented 1 year ago

Same for me

KotlyaroFF commented 1 year ago

And same for me in Next js 14.0

theredcloak commented 11 months ago

same

krllstdn commented 10 months ago

same

rathoddeepak commented 10 months ago

Same

iloginow commented 9 months ago

Same

0shreyajha0 commented 8 months ago

facing same issue

loxosceles commented 8 months ago

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 8 months ago

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

joelthorner commented 6 months ago

ok uninstalling package...

1021683053 commented 3 weeks ago

same