Closed Bug 1229593 Opened 10 years ago Closed 10 years ago

Find in Page: Support searching from text selection

Categories

(Firefox for iOS :: Browser, defect)

All
iOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: bnicholson, Assigned: bnicholson)

References

Details

Attachments

(1 file)

Selecting a word to search is an alternate entry point from the find bar. See https://mozilla.invisionapp.com/share/JK51NBM69#/screens/117336830.
Just for reference, I'm working on a similar bug for the login manager where we show a custom 'Reveal' option using a custom UIMenuItem: https://bugzilla.mozilla.org/show_bug.cgi?id=1221688
Attachment #8704744 - Flags: ui-review?(randersen) → ui-review+
There's one issue I found when testing this, which is that if you try to select text while the find-in-page bar is already visible and focused, the selected text menu won't have Find in Page as an option. I think this is because the web view isn't the first responder, so it doesn't get asked which items to show. Maybe we could set the web view to the first responder right on touch down? Not sure what the best solution is yet...let me know if you have any ideas. Will probably push the fix off to a follow-up bug.
Comment on attachment 8704744 [details] [review] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1408 As discussed in triage, I'd be fine with landing this as is with the UIMenuAction bug and filing a follow up to investigate.
Attachment #8704744 - Flags: review?(sleroux) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 1238036
Verifying as fixed on build 2.0(3)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: