Closed Bug 2015090 Opened 2 months ago Closed 1 month ago

Hitting the Left / Right arrows in the AI Chat input field will scroll the Sidebar horizontally instead of moving the cursors between characters

Categories

(Core :: Machine Learning: Frontend, defect, P1)

Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
150 Branch
Accessibility Severity s2
Tracking Status
firefox-esr140 --- disabled
firefox147 --- disabled
firefox148 --- disabled
firefox149 --- disabled
firefox150 --- verified

People

(Reporter: rdoghi, Assigned: gcardieri)

References

(Blocks 2 open bugs)

Details

(Keywords: access, Whiteboard: [genai][input][qa])

Attachments

(2 files)

Attached video 2026-02-06_18h48_24.mp4

Found in

  • Nightly 149.0a1 (2026-02-06)

Affected versions

  • Nightly 149.0a1 (2026-02-06)

Affected platforms

  • All

Steps to reproduce

  1. Open the AI Chat Sidebar in a Smart Window.
  2. Add a Lot of text in the Chat Input field.
  3. Use the Left / Right arrows to navigate between characters.

Expected result

  • The keyboard cursor should move between characters.

Actual result

  • The AI Chat sidebar scrolls horizontally instead of moving the keyboard cursor.

Regression range
N/A

Keywords: access
Blocks: 1994490
Severity: -- → S3
Priority: -- → P1
Whiteboard: [genai][input]

Access s2 because of restricted keyboard operability.

Accessibility Severity: --- → s2

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:Mardak, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(edilee)

I did a little bit of diagnosis of the scrollbar in bug 2018921 (didn't realize this was on file) - I'm not sure if fixing that (so there isn't a scrollbar) will fix this bug and/or if there should be more work here, but it seemed worth highlighting.

See Also: → 2018921
Assignee: nobody → gcardieri
Status: NEW → ASSIGNED

I don't see the horizontal scrollbar, I remember fixing a similar issue for the scroll bar with https://phabricator.services.mozilla.com/D283382 / https://bugzilla.mozilla.org/show_bug.cgi?id=2015807.
However, the arrow keys are still not moving between characters so I'll work on that.

(In reply to Giulia Cardieri (:gcardieri) from comment #4)

I don't see the horizontal scrollbar, I remember fixing a similar issue for the scroll bar with https://phabricator.services.mozilla.com/D283382 / https://bugzilla.mozilla.org/show_bug.cgi?id=2015807.
However, the arrow keys are still not moving between characters so I'll work on that.

bug 2018921 was fixed by Elissa yesterday and probably addressed the scrollbar portion. :-)

Attachment #9548745 - Attachment description: WIP: Bug 2015090 - Add arrow keyboard support for smartbar editor on sidebar → WIP: Bug 2015090 - Add arrow keyboard support for multiline editor
Attachment #9548745 - Attachment description: WIP: Bug 2015090 - Add arrow keyboard support for multiline editor → Bug 2015090 - Add arrow keyboard support for multiline editor
Regressions: 2022313
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cbd77f640100 https://hg.mozilla.org/integration/autoland/rev/7f43dd4425c1 Revert "Bug 2015090 - Add arrow keyboard support for multiline editor r=flozia,ai-frontend-reviewers" for causing bc failures @ browser_aiwindow_smartbar_keyboard_navigation.js
See Also: → 2022453
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/872645ff732d https://hg.mozilla.org/integration/autoland/rev/6b883047ba33 Add arrow keyboard support for multiline editor r=flozia,ai-frontend-reviewers
Flags: needinfo?(gcardieri)
Severity: S3 → S2
Flags: needinfo?(edilee)
Whiteboard: [genai][input] → [genai][input][qa]
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

Verified as fixed in our latest Nightly 150.0a1 (2026-03-12).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-found-in-c149][QA-4747][S3] → [qa-found-in-c149][QA-4747][S3][qa-ver-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: