Closed Bug 1703002 Opened 6 months ago Closed 6 months ago

Name field in the Bookmarks Panel scrolls to the end by default

Categories

(Firefox :: Bookmarks & History, defect, P2)

defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: mconley, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [proton-door-hangers][priority:2a])

Attachments

(1 file)

STR:

  1. Go to a website with a long-ish title
  2. Click on the Bookmark button in the URL bar to open the Bookmarks Panel

ER:

The "Name" input field should be selected, and the beginning of the tab title should be seen

AR:

The "Name" input field is selected, but the field has been horizontally scrolled to the end so that the end of the tab title is seen.

Noticed this in my PM review. There are a lot of websites with very long "Title" fields for SEO purposes and this was confusing when I first saw it before I realized what was happening. I'd like to see this fixed before we ship if possible for polish, so I am marking this as 2a.

Priority: -- → P2
Whiteboard: [proton-door-hangers] → [proton-door-hangers][priority:2a]

Note that Element.select() always focuses the element without scrolling, so the call to focus()
is redundant, but we'll leave it in anyway in case that changes.

Assignee: nobody → enndeakin
Status: NEW → ASSIGNED

I love how this bug page itself can be used to reproduce its reported issue!

Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a12143b2e10b
don't scroll when focusing the textbox in the edit bookmark panel, r=mak
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
See Also: → 1699863
Flags: qe-verify+

We've verified this fix using latest Beta 89.0b3 under macOS 10.15, Ubuntu 18.04 x64 and Win 10 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.