Giter Club home page Giter Club logo

Comments (13)

egoarka avatar egoarka commented on June 2, 2024 5

This issue happens due to React.StrictMode. Temporary fix is to disable it.

from react-scrollbars-custom.

xobotyi avatar xobotyi commented on June 2, 2024 5

I'm trying to cut the time to rework the package atm

from react-scrollbars-custom.

proteye avatar proteye commented on June 2, 2024 3

I have same error. Please, fix it!

from react-scrollbars-custom.

GorlikItsMe avatar GorlikItsMe commented on June 2, 2024 1

I have same issue. For me helped change reactStrictMode to false in next.config.js, but this should be fixed in different way.

Error:

Error: Element was not created. Possibly you haven't provided HTMLDivElement to renderer's `elementRef` function.

public componentDidMount(): void {
if (!this.element) {
this.setState(() => {
throw new Error(
"Element was not created. Possibly you haven't provided HTMLDivElement to renderer's `elementRef` function."
);
});
return;
}

from react-scrollbars-custom.

victorst79 avatar victorst79 commented on June 2, 2024 1

The latest release in the repository is from 2018 and the latest code push is from 2021 I think this repository is unmaintained.
To solve these problems use another library: react-custom-scrollbars-2
It is practically the same but you have to change the name of some parameters and it seems to have more maintenance and updates.

from react-scrollbars-custom.

hmidmrii avatar hmidmrii commented on June 2, 2024 1

same here

from react-scrollbars-custom.

victorst79 avatar victorst79 commented on June 2, 2024

Same error here.

from react-scrollbars-custom.

Hikikomori avatar Hikikomori commented on June 2, 2024

Any updates on this issue ? Still presents on the latest release
@xobotyi

from react-scrollbars-custom.

petertodorov avatar petertodorov commented on June 2, 2024

Wondering if any updates that may fix the issue are upcoming?
@xobotyi

from react-scrollbars-custom.

nop33 avatar nop33 commented on June 2, 2024

Facing the same issue...

rsc.esm.js:871 Uncaught Error: Element was not created. Possibly you haven't provided HTMLDivElement to renderer's `elementRef` function.

from react-scrollbars-custom.

AnnaLynxy avatar AnnaLynxy commented on June 2, 2024

I'm sorry, any updates? @xobotyi

from react-scrollbars-custom.

idosius avatar idosius commented on June 2, 2024

Plus one, also reproduced this, albeit without Next.js, rather with a client side application using React 18 and Vite 5.1

from react-scrollbars-custom.

vishnuur avatar vishnuur commented on June 2, 2024

Same here, with react 18 and Vite 5.1. Any updates on this issue ?

from react-scrollbars-custom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.