claude-opencode-viewer 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.html +5 -0
- package/package.json +1 -1
package/index.html
CHANGED
|
@@ -501,6 +501,11 @@
|
|
|
501
501
|
};
|
|
502
502
|
|
|
503
503
|
function sendKey(keyName) {
|
|
504
|
+
// 点击虚拟按键时收起手机键盘
|
|
505
|
+
if (inputField && isMobile) {
|
|
506
|
+
inputField.blur();
|
|
507
|
+
}
|
|
508
|
+
|
|
504
509
|
// Enter 键特殊处理:根据焦点位置决定行为
|
|
505
510
|
if (keyName === 'enter') {
|
|
506
511
|
if (inputFocused && inputField && inputField.value) {
|