Skip to content

How to enable/disable sorting dynamically in Meteor + React #705

@crussi

Description

@crussi

Hi Lebedev,
First, your sortable control is very good, thank you!!! I'm using it in React (with Meteor) i.e. react-sortable-mixin.js. My list items are editable. I want to "disable" sorting when a list item is being edited. This stops the list item from moving when the user trys to use the cursor to select the text. I tried connecting the sortableOptions { delete: ...} to the React component state, but, it is not working. Do you know any way, within React + Meteor that I can toggle whether to allow sorting or not?

Best regards,
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions