Closed latin-1 closed 2 weeks ago
This should be possible. I have not had the chance to document this yet but you can pass a function to activationConstraints and look at the event and return different activation constraints depending on the input type, example usage:
https://github.com/clauderic/dnd-kit/blob/experimental/packages/dom/src/core/manager/manager.ts#L29
This should be possible. I have not had the chance to document this yet but you can pass a function to activationConstraints and look at the event and return different activation constraints depending on the input type, example usage:
https://github.com/clauderic/dnd-kit/blob/experimental/packages/dom/src/core/manager/manager.ts#L29