Bug 212299
Summary: | Text selection does not work with apple-mobile-web-app-capable set to "yes" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Roman K <romanok> |
Component: | Text | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | CC: | megan_gardner, mmaxfield, thorton, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 13 |
Roman K
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/63605447>
Wenson Hsieh
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 ***