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
What is the current behavior?
Fails to render in strict mode React 18.
Steps to reproduce
https://codesandbox.io/s/confident-robinson-tgd5pb
What is the expected behavior?
To properly render scrollbars.
A little about versions:
18react-scrollbars-custom:4.1.1