Comments (3)
A simple example of the code I am working on is:
<ConditionalWrapper condition={reorderingEnabled} wrapper={(children) => ( <SortableContext items={medias} strategy={verticalListSortingStrategy}> {children} </SortableContext> )} >
and "ConditionalWrapper" is like:
export function ConditionalWrapper({ condition, wrapper, children }: ConditionalWrapperProps) { return condition ? wrapper(children) : children }
from dnd-kit.
WOQxX0AzEJNnLq2B6BaqwvPg34ZpeamM.1.mp4
from dnd-kit.
note: version is 6.0.8 but I also tried updating the version to 6.1.0 and the problem is still occurring.
from dnd-kit.
Related Issues (20)
- Draggable item is disabled with MUI Grid container HOT 1
- @dnd-kit/sortable 8.0.0 release
- Dnd angular
- Double Scrollbar Issue on Live Region HOT 1
- Cannot sort Elements with identifier={0}
- Incorrect sorting behavior
- Drag item from one DnDContext and drop it another (just to get the data of the active/over items)
- Autofocus does not work in the MUI library
- Autoscroll causes draggable items and click events to become offset from mouse positioning on Safari desktop HOT 1
- ERROR ResizeObserver loop completed with undelivered notifications. HOT 5
- MultipleContainers.tsx empty container not droppable HOT 1
- Is it possible to have items that span across multiple rows?
- cant enter spacebar in input text with listeners enabled
- Fixed distance between the dragged item and its dropping position after a list gets updated
- DragOverlay with TableRow
- Drag overlay functionality - Pickup animation
- nested SortableContexts onDrag End
- Is there a way to change the overlay style in drag mode?
- An error occurs because of scrollableAncestorRects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnd-kit.