I used a SmartSortable snippet by Pete Hunt from React.js Google Group that intergates jQuery UI sortable with React.

Unfortunately, after using it, editing input fields makes the text cursor to just to the end of the currently edited input field.

Animated GIF

http://jsfiddle.net/NV/jfkn5/

Removing <SmartSortable> from the example fixes the problem.

Why is it happening? I believe, the <input>’s value get’s updated despite being exactly the same; I don’t understand why.

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top