[Task Description] Pressing enter at beginning of topmost displayed line scrolls new line off the top of window
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
People
(Reporter: mozilla, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
- Filled task description with enough text that scroll bar appeared
- Moved cursor to first line
- Pressed enter at beginning (or in middle) of first line
Actual results:
- The previous line scrolled up (rather than the following scrolling down)
This makes it look like nothing happened if pressing enter at beginning of that line
Expected results:
- It should have scrolled the following text down one line, just like what happens when pressing enter in any other line than the topmost displayed line.
This didn't happen yet in 78.14.0
For the record, it happens in no other text editor except thunderbird mail composition (for mail composition, it happened already in 78.14.0)
It does not happen in Firefox (when editing a <textarea>)
(N.B. I initially reported as "Problem B" in bug 1767392, but following recommendation in comment 5, I've now made this into a separate bug report)
Reporter | ||
Comment 1•2 years ago
|
||
Still an issue in 91.13.0
Reporter | ||
Comment 2•8 months ago
|
||
Partially fixed in 115.7.0
Typing enter before the very first line of the file now works as expected if the view hasn't scrolled since it was opened.
However, if text has scrolled (by going down beyond the last line shown using the cursor, and then going up again), then the behavior reappears.
Description
•