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

升级到0.12.6后 移动端点击AI图标没反应了 || After upgrading to 0.12.6, there is no response when clicking the AI ​​icon on the mobile terminal. #218

Closed
flyhunterl opened this issue Dec 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@flyhunterl
Copy link

flyhunterl commented Dec 1, 2024

升级到0.12.6后 移动端点击AI图标没反应了 而且AI图标会被设置或着笔记页面覆盖掉 需要下滑一下网页 等它跳出来后再点才有反应


After upgrading to 0.12.6, there is no response when clicking the AI ​​icon on the mobile terminal. Moreover, the AI ​​icon will be covered by the settings or notes page. You need to scroll down the webpage and wait for it to pop up before clicking again.

@github-actions github-actions bot changed the title 升级到0.12.6后 移动端点击AI图标没反应了 升级到0.12.6后 移动端点击AI图标没反应了 || After upgrading to 0.12.6, there is no response when clicking the AI ​​icon on the mobile terminal. Dec 1, 2024
Copy link

dosubot bot commented Dec 1, 2024

@flyhunterl 你好!我是Dosu,一个可以帮助你解决bug、回答问题并成为贡献者的机器人。有人维护时,我也会在这里帮助你。

在版本 0.12.6 中,AI 图标在移动设备上的可见性和交互性可能受到以下因素的影响:

  1. 图标的 z-index 设置:AI 图标在移动设备上使用 BlinkoAiButton 组件实现,其 z-index 设置为 20。这应该足以确保图标位于其他元素之上,但如果其他元素的 z-index 更高,可能会导致图标被覆盖 [1]

  2. 条件渲染逻辑:AI 图标的渲染和行为取决于设备类型。对于非 PC 设备,BlinkoAiButton 组件会被渲染,并在点击时打开一个对话框。如果设备被错误识别为 PC,可能会导致图标不响应 [1]

  3. CSS 样式:AI 图标的容器使用了一些 CSS 样式,包括 opacity-70,这可能会影响其可见性,特别是在某些背景下 [1]

建议检查这些因素,确保 z-index 设置正确,并验证设备类型检测逻辑是否正常工作。

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the bug Something isn't working label Dec 1, 2024
blinko-space pushed a commit that referenced this issue Dec 1, 2024
github-actions bot pushed a commit that referenced this issue Dec 1, 2024
## [0.12.7](v0.12.6...v0.12.7) (2024-12-01)

### Bug Fixes

* ai button ui issue [#218](#218) ([e1452cc](e1452cc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants