Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

预览弹窗优化 #20

Closed
Tray2499 opened this issue Oct 1, 2024 · 2 comments
Closed

预览弹窗优化 #20

Tray2499 opened this issue Oct 1, 2024 · 2 comments

Comments

@Tray2499
Copy link

Tray2499 commented Oct 1, 2024

当前如果使用悬停预览打开一个弹窗,之后在这个打开的页面里继续使用悬停打开弹窗,之前的悬停弹窗并不会关闭,此时就有了两个打开的悬停弹窗,那么当前弹窗失去焦点的时候,只会关闭当前悬停弹窗,之前的悬停弹窗并不会自动关闭。希望能对这个关闭做一个优化。

另外找到一个类似的付费插件,他的预览窗口样式做的蛮不错的,希望能对后续优化做参考

MaxFocus: 链接预览和AI助手 - Chrome 应用商店

@u-Sir
Copy link
Owner

u-Sir commented Oct 9, 2024

关于自动关闭,会考虑增加相关选项
关于窗口样式,由于实现方式不同,使用的是浏览器的窗口,因此无法提供,火狐浏览器可以通过 userchrome.css 自行调整

@u-Sir
Copy link
Owner

u-Sir commented Dec 8, 2024

0.0.36 现已调整自动关闭为:同步关闭下级弹窗,点击原窗口,其所有所属的下级弹窗全部一起关闭。插件目前已上传到火狐、谷歌商店。

@u-Sir u-Sir closed this as completed Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants