Closed Bug 1187688 Opened 6 years ago Closed 6 years ago

Tapping on URL bar field and pressing backspace sets character selection instead of deleting

Categories

(Firefox for iOS :: Browser, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: sahil.profile, Assigned: sahil.profile)

References

Details

Attachments

(1 file)

47 bytes, text/x-github-pull-request
bnicholson
: review+
Details | Review
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36

Steps to reproduce:

1)Go to "google.com". It will save in your history
2)Now again enter "goo". It will show auto completion.
3)Tap on url bar at empty space or at the end. So cursor will move at end. Url bar value is "google.com"
4)Now press backspace.


Actual results:

on first backspace. It select "g" middle character.
on second backspace it delete "gle.com" characters.


Expected results:

It should delete characters at end.
Attached file Pull Request
Notify `didEnterText` after applying completion. This will update the cached query in `SearchLoader.swift` after applying completion.
Attachment #8639007 - Flags: review?(bnicholson)
Thanks for catching this!
Assignee: nobody → sahil.profile
Status: UNCONFIRMED → ASSIGNED
tracking-fxios: --- → ?
Ever confirmed: true
Blocks: 1166781
Summary: After taping on URL bar field and pressing backspace sets character selection instead of deleting it → Tapping on URL bar field and pressing backspace sets character selection instead of deleting
@brian
Updated the pull request.
https://github.com/mozilla/firefox-ios/commit/8f48e4b12911118dd31b6dfa787668ae4069baa5
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Attachment #8639007 - Flags: review?(bnicholson) → review+
You need to log in before you can comment on or make changes to this bug.