Reinstate select listener. Fixes #1868

This commit is contained in:
Francisco Hodge 2023-03-06 14:59:47 -05:00
parent f959dababd
commit 9a1f4420af

View File

@ -1130,8 +1130,7 @@ class SimpleKeyboard {
document.addEventListener("mouseup", this.handleMouseUp);
document.addEventListener("touchend", this.handleTouchEnd);
document.addEventListener("selectionchange", this.handleSelectionChange);
// Reporting old caret pos @ https://github.com/hodgef/simple-keyboard/issues/1868
//document.addEventListener("select", this.handleSelect);
document.addEventListener("select", this.handleSelect);
}
}