clicktoedit

Hasfocus binding issues with Firefox

时光总嘲笑我的痴心妄想 提交于 2019-12-10 15:16:10
问题 I'm working on an app that utilizes an observable array to present an editable table of userID information. The app works fantastic in Chrome, but I'm having issues getting it to work with Firefox. For my purposes, these two browsers are the only ones that I care about for now. I'm using the "click to edit" functionality through the hasfocus binding in knockout, and it works great with Chrome. Whenever the username is selected, it becomes editable, a save button presents itself, and upon