iosiphoneprogressive-web-appsiphone-xr

PWA on iOS 13.4.1: Text selection stopped to work


I have PWA on my iPhone XR.
After a recent iOS update I've got text selection not working inside PWA on iPhone XR.
And the same working on iPhone XS Max.

Text selection seems to be blocked inside PWA :/
Any help on the case would be really appreciated.


Solution

  • After some investigation:
    apparently text selection is broken for PWAs with <meta name="apple-mobile-web-app-capable" content="yes" /> on iPhone XR (at least).

    Filed a bug to webkit
    https://bugs.webkit.org/show_bug.cgi?id=212299

    Minimal reproducible 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>