Bug 239359

Summary: Selection lost in WKWebView in mac catalyst app due to smart quote formatting
Product: WebKit Reporter: andrews
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: ap, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: macOS 11   

Description andrews 2022-04-14 16:24:15 PDT
Steps:
* Run the app
* Type “this doesn’t”
* Press Cmd+Shift+Left Arrow to select from after that text to the beginning
* Wait a second or two for the autocorrect/autoformat that changes the apostrophe to a quote

Result:
The selection is collapsed and the caret is after the quote.
Comment 1 Ryan Haddad 2022-04-21 17:14:28 PDT
rdar://92128595