GithubHelp home page GithubHelp logo

Comments (14)

namroodinc avatar namroodinc commented on June 27, 2024 6

Has there been any fixes for this bug?

from dnd-kit.

0xtlt avatar 0xtlt commented on June 27, 2024 3

Hi everyone, I have the same problem with dnd kit/code : "6.0.8"

Am I the only one with the same problem at this version ?

from dnd-kit.

bbenzikry avatar bbenzikry commented on June 27, 2024 1

I don't mind updating my fork and opening a PR as long as there is no objection
Note that my fork is currently based on #54

from dnd-kit.

bbenzikry avatar bbenzikry commented on June 27, 2024 1

@clauderic Can we merge #415? I can only speak for myself - but I'm stuck with my own fork and would really like to be as close as possible to master without worrying about updating from upstream manually

from dnd-kit.

clauderic avatar clauderic commented on June 27, 2024 1

Fixed by #415

from dnd-kit.

sbaechler avatar sbaechler commented on June 27, 2024 1

For anyone googling this error: The fix has been released in @dnd-kit/core 4.0.0.

from dnd-kit.

joshjg avatar joshjg commented on June 27, 2024

Thanks @bbenzikry - I tried the changes from your fork locally and it solved the issues I was having.

from dnd-kit.

bbenzikry avatar bbenzikry commented on June 27, 2024

Thanks @bbenzikry - I tried the changes from your fork locally and it solved the issues I was having.

Happy to have helped :)

from dnd-kit.

joshjg avatar joshjg commented on June 27, 2024

@bbenzikry @clauderic Any plans to open this fix as a PR? Any help needed?

from dnd-kit.

cantrellnm avatar cantrellnm commented on June 27, 2024

I needed this working for my own project so I opened PR #415. It's a small fix but should be more flexible than bbenzikry's solution since the fixed node can be at any level of ancestry and have scrollable children. This worked to fix my own issues but I don't know if it will fix all issues related to fixed containers.

from dnd-kit.

atanasov-deyan avatar atanasov-deyan commented on June 27, 2024

Hello @clauderic ,
I might be doing something wrong, but I still can reproduce the issue with the latest version both in our use case , and in the example linked in the initial issue description. I have just forked the sandbox and updated dnd-kit to latest version, but the problem persists: https://codesandbox.io/s/react-dnd-grid-forked-o0vof , so I am kinda unsure whether this issue is fully resolved by #415 . Can someone else also confirm my findings?

from dnd-kit.

clauderic avatar clauderic commented on June 27, 2024

@atanasov-deyan the versions of @dnd-kit that fix this are not published under the latest tag on npm yet, they are tagged with next. You can consume them right away by installing the @dnd-kit packages tagged with next:

npm install @dnd-kit/core@next @dnd-kit/sortable@next

I updated the CodeSandbox with the next packages:
https://codesandbox.io/s/react-dnd-grid-forked-1h9nw?file=/src/App.js:321-333

I think there's still some other issues with that sandbox, but I believe they're related to #43

Follow this PR to know when the next packages will be released under latest:
#342

from dnd-kit.

atanasov-deyan avatar atanasov-deyan commented on June 27, 2024

ah, I knew I must be doing something wrong! Thanks for the clarification, @clauderic ! I can confirm that using dnd-kit next solves the problem for our use case, too!

from dnd-kit.

akodkod avatar akodkod commented on June 27, 2024

Unfortunately, I have the same problem. I'm using:

"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",

from dnd-kit.

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.