likaia / js-screen-shot

web端自定义截图插件(原生JS版)
https://www.kaisir.cn/js-screen-shot/
MIT License
808 stars 107 forks source link

未框选截图区域时,键盘 Esc 按键不能退出截图。 #121

Closed shichaohui closed 1 year ago

shichaohui commented 1 year ago

Version of js-screen-shot

1.9.7-rc.1

Operating system and its version

Windows

Browser and its version

Google Chrome 97.0.4692.71

Sandbox to reproduce

No response

What happened?

问题:
如下方式初始化截图功能,初始化完成后直接按键盘 Esc 按键不能退出截图,必须框选截图区域后按 Esc 才能退出截图。

new ScreenShot({
    enableWebRtc: true,
    showScreenData: true,
    level: 9,
})

期望:
初始化截图工具后任意时间按 Esc 都能退出截图。

报错信息

No response

likaia commented 1 year ago

Hello @shichaohui. Your feedback has been received, and you will be notified in the issue area when the problem is resolved. 你好 @shichaohui,已收到你反馈的问题,问题解决后将在issue区域通知你。

likaia commented 1 year ago

Version of js-screen-shot

1.9.7-rc.1

Operating system and its version

Windows

Browser and its version

Google Chrome 97.0.4692.71

Sandbox to reproduce

No response

What happened?

问题: 如下方式初始化截图功能,初始化完成后直接按键盘 Esc 按键不能退出截图,必须框选截图区域后按 Esc 才能退出截图。

new ScreenShot({
    enableWebRtc: true,
    showScreenData: true,
    level: 9,
})

期望: 初始化截图工具后任意时间按 Esc 都能退出截图。

报错信息

No response

修复了,更新到1.9.7-rc.2即可