Update the code based on new feedback. -_focusTextInputContext should reposition the caret if called for an already focused text input context.
<rdar://problem/64032956>
Created attachment 401169 [details] Patch
Comment on attachment 401169 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401169&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:4297 > + _pointInsideLastFocusedTextInputContext = WTF::nullopt; Should we also reset this in `-cleanUpInteraction`?
Comment on attachment 401169 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401169&action=review >> Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:4297 >> + _pointInsideLastFocusedTextInputContext = WTF::nullopt; > > Should we also reset this in `-cleanUpInteraction`? Yes, of course
Comment on attachment 401169 [details] Patch Thanks for the review!
Created attachment 401170 [details] To land
Comment on attachment 401170 [details] To land Clearing flags on attachment: 401170 Committed r262654: <https://trac.webkit.org/changeset/262654>
All reviewed patches have been landed. Closing bug.
(In reply to Daniel Bates from comment #7) > Comment on attachment 401170 [details] > To land > > Clearing flags on attachment: 401170 > > Committed r262654: <https://trac.webkit.org/changeset/262654> This was wrong and caused <rdar://problem/64664156>. Reverting...
(In reply to Daniel Bates from comment #9) > (In reply to Daniel Bates from comment #7) > > Comment on attachment 401170 [details] > > To land > > > > Clearing flags on attachment: 401170 > > > > Committed r262654: <https://trac.webkit.org/changeset/262654> > > > This was wrong and caused <rdar://problem/64664156>. Reverting... Reverted in <https://trac.webkit.org/changeset/263630>