Open AJPratt opened 10 years ago
@AJPratt - sorry missed this one. There are a number of ways that you could address the issue. One option would be to put the input in a form and use a submit
binding to clear the selected item like: http://jsfiddle.net/rniemeyer/GJ9nk/. Does that work for your scenario?
First off, the sortable plugin is awesome and working great. Thank you Ryan. I noticed that when using in conjuction with the "click to edit binding" you wrote, the textbox when clicking to edit does not quite lose focus properly. Before I made my list sortable, the textbox would lose focus and hide itself if the enter key was pressed or you clicked off of it anywhere. Now with the sortable hooked up, the only way to get it to hide again, is to click off the ul entirely. I noticed it doing the same thing in one of your demos.
http://jsfiddle.net/rniemeyer/hw9B2/