Open Bug 1728724 Opened 3 years ago Updated 1 year ago

PageUp/PageDown keys in TextArea do not reset caret blinking

Categories

(Core :: Layout, enhancement, P3)

Firefox 93
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: gmail, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Text input elements react to PageUp/PadeDown differently from other keys, e.g. Home/End. When pressing other keys, caret resets its blinking timer/cooldown: it would never dismiss when key is pressed.

My platform is ArchLinux, Xorg.

Steps to reproduce:

  1. Put caret into a text field or text area.
  2. Press PageUp/PageDown repeatedly. It matters not whether you have any text typed into the field.

Actual results:

Caret blinks while being moved. It keeps blinking and hiding, and then reappears in a totally different place.

Expected results:

Just like with all other keys, caret should show up and reset its blinking cooldown when being moved by PageUp/PageDown.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

This bug doesn't affect the editor functionality but maybe could give a better experience.

Severity: -- → N/A
Type: defect → enhancement
Component: DOM: UI Events & Focus Handling → DOM: Editor
Priority: -- → P3

Caret blinking is managed by nsCaret.

Component: DOM: Editor → Layout
You need to log in before you can comment on or make changes to this bug.