瀏覽代碼

Merge branch '7.7' into fix11502-4

fix11502-4
Olli Tietäväinen 5 年之前
父節點
當前提交
c75580aa4e
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      client/src/main/java/com/vaadin/client/ui/VTree.java

+ 2
- 2
client/src/main/java/com/vaadin/client/ui/VTree.java 查看文件

@@ -209,11 +209,11 @@ public class VTree extends FocusElementPanel
}, ContextMenuEvent.getType());

/*
* Firefox auto-repeat works correctly only if we use a key press
* Firefox prior to v65 auto-repeat works correctly only if we use a key press
* handler, other browsers handle it correctly when using a key down
* handler
*/
if (BrowserInfo.get().isGecko()) {
if (BrowserInfo.get().isGecko() && BrowserInfo.get().getGeckoVersion() < 65) {
addKeyPressHandler(this);
} else {
addKeyDownHandler(this);

Loading…
取消
儲存