RESOLVED DUPLICATE of bug 210191 212299
Text selection does not work with apple-mobile-web-app-capable set to "yes"
https://bugs.webkit.org/show_bug.cgi?id=212299
Summary Text selection does not work with apple-mobile-web-app-capable set to "yes"
Roman K
Reported 2020-05-23 03:39:56 PDT
After recent update to iOS 13.4.1 on my iPhone XR text selection is not working on PWA with "apple-mobile-web-app-capable" meta set to "yes". All seems to be working on iPhone XS Max. 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> ``` Also available here http://chestozo-ru.1gb.ru/ios-text-case/test.html Steps to reproduce: - on iPhone XR (maybe on others too) - open http://chestozo-ru.1gb.ru/ios-text-case/test.html in Safari - click on Bookmark / Add to Home Screen - proceed with adding bookmark on the home screen - open added bookmark - try to select text by long tapping on it Expected behaviour: text selection dialog is activated Actual behaviour: nothing happens :/
Attachments
Radar WebKit Bug Importer
Comment 1 2020-05-25 14:29:21 PDT
Wenson Hsieh
Comment 2 2020-05-25 14:40:19 PDT
Homescreen web apps set -[WKWebView allowsLinkPreview] to NO, which triggered the bug in <https://webkit.org/b/210191>. This doesn’t reproduce for me on builds that have the fix for r259892, so I think this has been fixed in trunk WebKit. *** This bug has been marked as a duplicate of bug 210191 ***
Note You need to log in before you can comment on or make changes to this bug.