react-scrollbars-custom icon indicating copy to clipboard operation
react-scrollbars-custom copied to clipboard

Incompatible with React 18 in strict mode

Open nop33 opened this issue 2 years ago • 17 comments

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

nop33 avatar Jan 10 '23 10:01 nop33

Same for me

hmidmrii avatar Jan 23 '23 15:01 hmidmrii

Same for me

rickyzhangca avatar Apr 10 '23 21:04 rickyzhangca

same here

muchisx avatar May 03 '23 23:05 muchisx

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

alagkonas avatar May 10 '23 07:05 alagkonas

ditto

jmynes avatar Aug 25 '23 23:08 jmynes

same for me

maxcmoi89 avatar Sep 16 '23 12:09 maxcmoi89

yep

marcelo-mason avatar Sep 29 '23 08:09 marcelo-mason

Same for me

mendela1992 avatar Oct 18 '23 06:10 mendela1992

And same for me in Next js 14.0

KotlyaroFF avatar Nov 20 '23 12:11 KotlyaroFF

same

theredcloak avatar Dec 09 '23 22:12 theredcloak

same

krllstdn avatar Jan 29 '24 09:01 krllstdn

Same

rathoddeepak avatar Jan 30 '24 07:01 rathoddeepak

Same

iloginow avatar Mar 02 '24 11:03 iloginow

facing same issue

0shreyajha0 avatar Mar 26 '24 10:03 0shreyajha0

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.

loxosceles avatar Apr 05 '24 14:04 loxosceles

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

nop33 avatar Apr 06 '24 01:04 nop33

ok uninstalling package...

joelthorner avatar May 09 '24 10:05 joelthorner