react-final-form-arrays icon indicating copy to clipboard operation
react-final-form-arrays copied to clipboard

React Beautiful DnD example "resets" focus after drop

Open dimaqq opened this issue 5 years ago • 1 comments

React Beautiful DnD example linked in the readme has a bug/nit:

  • add 2 customers
  • focus in c1 (top) last name
  • start typing
  • drag customer to reorder
  • continue typing

If done slowly, 2nd run of typing will end up in c2 (new top) customer last name.

If done quickly, part of 2nd run of typing will be in c1 and part in c2.

It's also possible to type while dragging, which illustrates the issue better.

dimaqq avatar Jul 08 '19 02:07 dimaqq

how to fix bug with focus?

MrRinsvind avatar Aug 16 '20 20:08 MrRinsvind