Input/contenteditable connected to firebase loses focus on key press.. because the content is regenerated instead of data updating.
http://jsbin.com/diqabi/46/edit?html,output
Firebase: https://intense-heat-1283.firebaseio.com/test.json
Any fix provided ?
Not a fix but kind of a dirty workaround, by including a filter in the dom-repeat that always return true, it'd keep the focus.
Don't ask me why, because I don't know
Here the modified code
http://jsbin.com/sohahuzeqi/1/edit?html,output
You are my HERO ! I was going crazy about this. Thanks so much. I want to buy you a coffee what's your social profile ?!
firebase-element has been deprecated and I am unable to fix your JSBin. If you are still experiencing issues, please reopen this issue with an up-to-date JSBin.
Most helpful comment
Not a fix but kind of a dirty workaround, by including a filter in the dom-repeat that always return true, it'd keep the focus.
Don't ask me why, because I don't know
Here the modified code
http://jsbin.com/sohahuzeqi/1/edit?html,output