我正在开发一个应用程序,该应用程序利用可观察数组来呈现可编辑的用户 ID 信息表。该应用程序在 Chrome 中运行良好,但在 Firefox 中运行时遇到问题。就我而言,这两个浏览器是我目前唯一关心的浏览器。
我正在通过hasfocus
淘汰赛中的绑定使用“点击编辑”功能,它与 Chrome 配合得很好。Whenever the username is selected, it becomes editable, a save button presents itself, and upon clicking "Save" the info is posted as a JSON string. Firefox 在发布过程中似乎还不够远,并且当焦点被移除时它的行为也很奇怪。
有相当多的代码,所以我准备了这个 Fiddle 来显示问题。Chrome 工作正常,Firefox 没那么好。
http://jsfiddle.net/stevehnh/GNssr/
非常感谢您的帮助!希望这是我缺少的一些小东西。