Skip to content

[bug] Text is staying all the time in the top #283

Description

@vadimt2
  • When i use formik, it's working ok

Please use this code below,
Put value in the top inpiut and drag it down.

  const [items, setItems] = useState([
    { id: '1', name: 'Item 1' },
    { id: '2', name: 'Item 2' },
    { id: '3', name: 'Item 3' }
  ])
<ReactSortable list={items} setList={setItems}>
      {items.map((item, index) => (
        <div key={index}>
          <span className="my-handle">::</span>
          <input type="text" placeholder={item.name} />
        </div>
      ))}
    </ReactSortable>```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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