-
Notifications
You must be signed in to change notification settings - Fork 47
Home
Welcome to the react-drag-drop-container wiki!
Added classNames to all parts of the component. Changed "disappeared" source items to display:none AND position:absolute, so they won't take up any space on the page. Updates to the demo page.
Fix problem with dragging on an iphone screen that's zoomed in. Also make scrolling smoother when you drag to the edge of the screen.
Added render
prop so you can use components as wrappers with children or use them as children with render-prop. Also highlightClassName
property for automatic highlight on hover.
When you drag past the edge of the browser, scroll the page.
Add disappearDraggedElement
property. If true, then original element completely disappears when you are dragging. Otherwise, by default, the element is still there, but hidden, and so still takes up space.
Changed positioning from relative
to fixed
to enable dragging and dropping from inside a scrolling element.