Open Bug 1569120 Opened 5 years ago Updated 2 years ago

Inconsistency of active element and keyboard behaviour

Categories

(Core :: DOM: Editor, defect, P3)

Unspecified
All
defect

Tracking

()

Tracking Status
firefox68 --- affected
firefox69 --- affected
firefox70 --- affected

People

(Reporter: martin, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.170

Steps to reproduce:

1.) Visit https://jsfiddle.net/pm758c4r/1/ with Firefox (I could not reproduce this issue in Chromium, IE, EDGE, Opera...)
2.) Place the caret at any position in the Quill-Textarea by left-clicking with your mouse. You can now type in text
3.) With the right mouse button, click on ''Link to quill hompage'' and select "Open in new Tab"
4.) A new tab will be opened in the background
5.) Select text with the keyboard (i.e. SHIFT + Arrow-Key)
6.) Try to type some more text

Actual results:

Either, the selection from step 5 should not work (as in any other browser).

Or we should be able to type text in step 6.

Expected results:

The text is selected (after step 5), but it's not possible to write any text in step 6. This is quite confusing for users.

Also note the output of

console.log(document.activeElement);

I've added to the jsfiddle demo

Hi,

I've been able to reproduce this issue both on Firefox 68.0.1 and Firefox Nightly 70.0a1.

I'm going to assign a component in order to involve the development team in reviewing this issue.
If this doesn't seem like the correct one, please feel free to re-assign it.

Thank you for taking the time to report this issue!

Status: UNCONFIRMED → NEW
Component: Untriaged → Keyboard Navigation
Ever confirmed: true
OS: Unspecified → All
Version: 67 Branch → Trunk
Component: Keyboard Navigation → Editor
Product: Firefox → Core
Priority: -- → P3
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.