Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In react-beautiful-dnd example focused input don't swap #150

Open
gadiGuesty opened this issue Sep 11, 2020 · 0 comments
Open

In react-beautiful-dnd example focused input don't swap #150

gadiGuesty opened this issue Sep 11, 2020 · 0 comments

Comments

@gadiGuesty
Copy link

gadiGuesty commented Sep 11, 2020

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

In react-beautiful-dnd example if few items created and one of inputs get focused and then dragged the it gets blurred and the swapped item get focused

  1. create two items(or more) in react-beautiful-dnd example
  2. choose one of the items and focus one of it's inputs
  3. swap(drag) it with other item

What is the expected behavior?

dragged item persist focus

Sandbox Link

https://codesandbox.io/s/678pj?file=/index.js

What's your environment?

    "final-form-arrays": "^3.0.2",
    "react-final-form": "^6.3.5",
    "react-final-form-arrays": "^3.1.2",
    "react-beautiful-dnd": "^13.0.0",
    "react": "^16.13.0",
    "react": "^16.13.0",

Other information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant