Skip to content

Clicking a hyperlink does not open the browser on mobile #11240

Closed
@88250

Description

@88250
Member

Android 端点击超链接未跳转浏览器打开

https://ld246.com/article/1714647331269

Activity

added this to the 3.0.13 milestone on May 3, 2024
Soltus

Soltus commented on May 3, 2024

@Soltus
Contributor

思源安卓现在的思路是超链接和双链都是点击就打开吧,我修改逻辑为暂存 感觉挺舒服的,不过我的实现不是很优雅,希望思源可以考虑一下!这个关联安卓端 siyuan-note/siyuan-android#19
暂存而不是立即打开主要是基于以下几点考虑:

  1. 之前有用户反馈的安卓卡顿问题, 发现他的文档几乎布满了双链,这种情况暂存一定程度上可以避免UI阻塞卡顿
  2. 编辑的情况下,单击预期的可能是需要修改锚文本,这时候直接打开会阻断这一流程
Soltus

Soltus commented on May 3, 2024

@Soltus
Contributor

点击双链还有一个缺陷是在手机浏览器端无法返回,如果官方可以提供 sy-plugin-enhance 插件的底部导航栏那样就可以在手机浏览器里返回了(APP里不显示)

88250

88250 commented on May 4, 2024

@88250
MemberAuthor

这个改动有点大,可能会影响其他交互,暂时还是不动了,移动端等后续考虑重构,谢谢。

changed the title [-]Clicking a hyperlink on Android does not open the browser[/-] [+]Clicking a hyperlink does not open the browser on mobile[/+] on May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@Soltus

      Issue actions

        Clicking a hyperlink does not open the browser on mobile · Issue #11240 · siyuan-note/siyuan