first thanks for the excellent work, supporting this library.
I am trying to use this library with NextJs.
I am using the "universal" property, as recommended in the documentation, but even so I always get the following error:
ReferenceError: window is not defined
The error indicates the following files:
rc-scrollbars\lib\utils\getScrollbarWidth.js:8:15)
rc-scrollbars\lib\utils\index.js:11:27)
I also tried to copy the example from the documentation, but I was also unsuccessful.
Am I doing something wrong?
first thanks for the excellent work, supporting this library.
I am trying to use this library with NextJs. I am using the "universal" property, as recommended in the documentation, but even so I always get the following error:
ReferenceError: window is not defined
The error indicates the following files: rc-scrollbars\lib\utils\getScrollbarWidth.js:8:15) rc-scrollbars\lib\utils\index.js:11:27)
I also tried to copy the example from the documentation, but I was also unsuccessful. Am I doing something wrong?
i am using NjextJs in 9.5.4 version