Summary: | -_focusTextInputContext should reposition the caret if called for an already focused text input context | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
Component: | WebKit Misc. | Assignee: | Daniel Bates <dbates> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Local Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Daniel Bates
2020-06-05 09:50:45 PDT
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> |