Skip to content

[bug] Text inputs in a sortable div can no longer be focused #2410

@joeybab3

Description

@joeybab3

To Reproduce

  1. Click on a form input within a div that is draggable
  2. Focus is immediately removed.
  3. Opening inspect element shows that when the text field is clicked the element becomes draggable.

Expected behavior

In previous versions I was able to click to type in these forms and then drag elsewhere.

This issue is not present in 1.15.3

Information

Versions:
sortablejs = @latest(1.15.4)

Reproduction
https://jsbin.com/rukomad/1/edit?html,css,output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions