"selectionchange" only fires once when entering text at end of textarea

NEW
Unassigned

Status

()

a year ago
a month ago

People

(Reporter: jchen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

a year ago
Created attachment 8862656 [details]
Testcase

Using the testcase in Nightly, the "selectionchange" count only increases _once_ when inputting text at the end (and only at the end) of the <textarea> field.
(Reporter)

Updated

a year ago
Blocks: 1353799
Perhaps, this occurs when selection is collapsed at start of the trailing <br> element. I think that editor should collapse Selection at end of the end of the text node. (So, this might be an editor's bug.)
You need to log in before you can comment on or make changes to this bug.