【问题标题】:PWA on iOS 13.4.1: Text selection stopped to workiOS 13.4.1 上的 PWA:文本选择停止工作
【发布时间】:2020-05-18 08:27:51
【问题描述】:

我的 iPhone XR 上有 PWA。
在最近的 iOS 更新后,我的文本选择在 iPhone XR 上的 PWA 中不起作用。
在 iPhone XS Max 上也是如此。

文本选择似乎在 PWA 中被阻止:/
对此案的任何帮助将不胜感激。

【问题讨论】:

    标签: ios iphone progressive-web-apps iphone-xr


    【解决方案1】:

    经过一番调查:
    显然,iPhone XR 上带有<meta name="apple-mobile-web-app-capable" content="yes" /> 的 PWA 的文本选择被破坏(至少)。

    向 webkit 提交了一个错误
    https://bugs.webkit.org/show_bug.cgi?id=212299

    最小的可重现 html:

    <!DOCTYPE html>
    <html>
    <head>
      <title>test text selection</title>
      <meta name="apple-mobile-web-app-capable" content="yes" />
    </head>
    
    <body>
      Try to select this text.<br/>
      Should be selectable but it is not on my iPhone XR.
    </body>
    
    </html>
    

    【讨论】:

    • 显然这个错误将在 iOS 的下一个版本中修复。不幸的是,13.5.1 中没有(仍然可以重现)bugs.webkit.org/show_bug.cgi?id=210191
    • iOS 13.6 终于解决了这个问题
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-08
    • 2019-07-17
    • 1970-01-01
    • 2017-11-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多