Comments (2)
The useDroppable
hook exposes an isOver
boolean. You can use that to determine if an element is being dragged over an area and respond accordingly.
from dnd-kit.
The
useDroppable
hook exposes anisOver
boolean. You can use that to determine if an element is being dragged over an area and respond accordingly.
Hi! Thank you for your reply. I have solved the problem with your help and will change the default collision strategy to Pointer inside. Because this way there was no more continuous detection and so it could work as I wanted. Thank you.
from dnd-kit.
Related Issues (20)
- 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
- Bug when auto-scrolling with drop locations inside overflow parent HOT 2
- Can't copy text in docs
- useSortable dragging render issue HOT 1
- Suggestion: activation hooks
- shouldCancelStart? HOT 1
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.