Page MenuHomePhabricator

Focusing VisualEditor does not work in Firefox
Closed, ResolvedPublic8 Story Points

Description

Calling .focus() on a ve.ce.Surface enables the toolbar, but does not put the cursor in the editor. Key presses go nowhere. This works correctly in Chrome but is broken in Firefox.

This is especially noticeable when you open VE for an article: in Chrome, the cursor is placed at the beginning of the article and you can start typing immediately, while in Firefox you have to click in the article before you can type.

Details

Related Gerrit Patches:
VisualEditor/VisualEditor : masterMake focusing surfaces work in Firefox

Event Timeline

Catrope created this task.Aug 21 2015, 3:20 AM
Catrope claimed this task.
Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope added a subscriber: Catrope.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 21 2015, 3:20 AM

Change 232893 had a related patch set uploaded (by Catrope):
Make focusing surfaces work in Firefox

https://gerrit.wikimedia.org/r/232893

Jdforrester-WMF triaged this task as High priority.Aug 21 2015, 3:23 PM
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.

Change 232893 merged by jenkins-bot:
Make focusing surfaces work in Firefox

https://gerrit.wikimedia.org/r/232893