Skip to content

Docs: way to prevent dragging while renaming (or as default behaviour) #110

@softmarshmallow

Description

@softmarshmallow
  1. item.getRenameInputProps() only passes the onBlur and onChange, the built in props does not have a system for preventing the item being dragged while renaming.
  2. this usually be prevented by below snippet, but does not work
onPointerDown={(e) => e.stopPropagation()}
onDragStart={(e) => e.stopPropagation()}
onClick={(e) => e.stopPropagation()}
Screen.Recording.2025-05-21.at.7.20.40.PM.mov

Please document how this behaviour can be prevented.

Thanks for the awesome packagge.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions