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

[BUG] 部分加密移动端无法点击确认 #410

Closed
gengyj16 opened this issue Jan 26, 2024 · 3 comments
Closed

[BUG] 部分加密移动端无法点击确认 #410

gengyj16 opened this issue Jan 26, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gengyj16
Copy link

Describe the bug 描述你遇到的错误

文章内有多个输入框情况下使用部分加密,PC端可以正常输入密码后回车解密,移动端显示为下一项,光标会移动到下个输入处,内容没有解密

Expected behavior 期待的行为

移动端显示确定按钮而不是下一项,或者密码输入框旁边增加一个解密按钮/失去焦点后自动尝试使用已输入内容解密(不被键盘行为影响)

Screenshots 屏幕截图

Screenshot_2024-01-26-13-55-26-46_32cba261fc08a501ce70de75bdbe2575_Mosaic_13_55_49

Build Environment 构建环境

  • OS: Ubuntu Focal 20.04
  • Theme version: dd4f422
  • Hugo version: 0.121.1

Preview Environment 预览环境

  • OS: Android
  • Browser: Chrome

Additional Information 补充信息

可供复现问题的博客链接

另外演示站点的内容加密,全文解密后内文的部分加密无法解密(PC和移动端均是)

@gengyj16 gengyj16 added the bug Something isn't working label Jan 26, 2024
@Lruihao
Copy link
Member

Lruihao commented Jan 26, 2024

ios自带的输入法是 return。这个有时间再改一下。

@gengyj16
Copy link
Author

gengyj16 commented Feb 4, 2024

另外关于上面结尾处提到的

演示站点的内容加密,全文解密后内文的部分加密无法解密(PC和移动端均是)

在自己博客上复制了一份测试,全文加密情况下的部分加密是正常的;但是如果不使用全文加密,仅部分加密,文章内样式异常(admition无法展开/折叠、代码块的头部和右上角按钮缺失、移动端-目录无法展开/折叠)。另外,部分加密似乎每次进入页面都要重新解密没有记忆,这个不清楚是不是bug。

@Lruihao Lruihao added this to the v0.3.x milestone Apr 17, 2024
@Lruihao Lruihao pinned this issue Apr 17, 2024
@Lruihao Lruihao self-assigned this Apr 24, 2024
Lruihao added a commit that referenced this issue Apr 24, 2024
…ed other styles of the article to not take effect

Fixes #410
@Lruihao
Copy link
Member

Lruihao commented Apr 24, 2024

所有 BUG 都已修复,另外:

  1. 部分加密在设计之初就是设定为临时的解密,所以没有记忆功能
  2. [FEATURE] 全文加密和部分加密密码输入框后增加按钮 #437

@Lruihao Lruihao unpinned this issue Apr 24, 2024
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
Archived in project
Development

No branches or pull requests

2 participants