Giter Site home page Giter Site logo

Comments (9)

rcdexta avatar rcdexta commented on May 22, 2024

Can you explain a bit more about what do you mean by sides of the container? Can you share sample code with the container where you use the Board component, so that I can understand better..

from react-trello.

HazemEngMuh avatar HazemEngMuh commented on May 22, 2024
      <Board
      editable
      onCardAdd={this.handleCardAdd}
      data={this.state.boardData}
      draggable
      onDataChange={this.shouldReceiveNewData}
      eventBusHandle={this.setEventBus}
      handleDragStart={handleDragStart}
      handleDragEnd={handleDragEnd}
  />

I used basic example as above. In my project I have menu on the left of screen and use plugins, Where plugins start after menu's area is finished. When I drag a card, the card's transform as the externel container I mean menu's width is calculating and increasing to card's transform(css).
It is same to this problem https://drive.google.com/file/d/0B3mwXFEGAguUUkVKakZQOFpIVHc/view

from react-trello.

rcdexta avatar rcdexta commented on May 22, 2024

v1.27.0 should address this issue. Can you please check and confirm?

from react-trello.

HazemEngMuh avatar HazemEngMuh commented on May 22, 2024

When I check it I had another errors
I don't know if I did a mistake
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of DragHandle.

:3000/static/js/bundle.js:367407 MIDDLEWARE ERROR: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of DragHandle.

Note: I use react 5

from react-trello.

rcdexta avatar rcdexta commented on May 22, 2024

I used some React 16 specific features. Reverted them for backward compatibility. Check v1.27.2.

from react-trello.

HazemEngMuh avatar HazemEngMuh commented on May 22, 2024

Main bug has not been solved

from react-trello.

orangecoding avatar orangecoding commented on May 22, 2024

I experienced kind of the same problem. If I drag a card around, and drop it into an empty lane, the card is first being shown at the top, outside of the lane, then transformed into the lane with a fancy move animation. Might be because I did some heavy styling around the board to match it our container style.. Need to dig deeper though..

from react-trello.

rcdexta avatar rcdexta commented on May 22, 2024

Release v1.28.1 has bug fixes for drag-n-drop and upgraded version of react-beautiful-dnd dependency

from react-trello.

HazemEngMuh avatar HazemEngMuh commented on May 22, 2024

Problem still exist

from react-trello.

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.