Code Monkey home page Code Monkey logo

Comments (7)

jmorrice avatar jmorrice commented on May 22, 2024

+1! Quite a few issues mainly related to paths since updating

from react-d3-tree.

bkrem avatar bkrem commented on May 22, 2024

Ok, can you explain what's going on @jmorrice?

from react-d3-tree.

jmorrice avatar jmorrice commented on May 22, 2024
  • All paths are being shown right away, without the corresponding nodes.
  • Nodes aren't collapsing after clicking them again

I'll see if I can figure out what's going on

from react-d3-tree.

bkrem avatar bkrem commented on May 22, 2024

Ok interesting. That would be great if you have a few minutes πŸ‘

Will push out a new version ASAP if you have a PR at some point, otherwise I'll investigate myself.

from react-d3-tree.

bkrem avatar bkrem commented on May 22, 2024

@jmorrice can't see any obvious issues after upgrading the demo to react/react-dom 16.x, could you please post the setup you're using the library in?

from react-d3-tree.

jmorrice avatar jmorrice commented on May 22, 2024

My mistake, turns out the problem was related to updating react-transition-group from 1.1.3 to 2.2.1. So we can close this issue, but shall I open another ticket for updating that package?

from react-d3-tree.

bkrem avatar bkrem commented on May 22, 2024

Ok, suspected that might have been the reason.

Sure feel free to open an issue for an upgrade to transition-group v2.

It should actually be declared as a peer dependency rather than a direct dependency anyways, as it can cause hard to track bugs this way.
That’s a breaking change though so will have to wait until react-d3-tree v2. Refactoring and upgrading should hopefully be possible now though.

from react-d3-tree.

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.