[wp-trac] [WordPress Trac] #31751: Using PgDn and PgUp keyboard keys in the editor scrolls both post edit box and the whole viewport

WordPress Trac noreply at wordpress.org
Tue Nov 24 06:13:57 UTC 2020


#31751: Using PgDn and PgUp keyboard keys in the editor scrolls both post edit box
and the whole viewport
--------------------------+---------------------------------
 Reporter:  archon810     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.1.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by noisysocks):

 * keywords:  dev-feedback => needs-patch


Old description:

> The editor in Wordpress 4.1 is great, and the whole sticky sidebar is a
> great improvement, but editing using Page Down and Page Up keys as part
> of the workflow is some of the most frustrating experience one can have
> because they control both the cursor in the post edit box and the page
> itself.
>
> For example, if I go into a short post, put the cursor at the beginning
> of the post, and press Page Down, I'm going to end up with this:
> [[Image(http://i.imgur.com/CZr3FXQ.png)]]
>
> At this point, I can only see a tiny sliver of the post because the page
> has scrolled too.
>
> This is similar to #30919, except I'm not talking about the distraction-
> free mode, which I almost never use.
>
> Windows 8.1 on Chrome 42 beta, but this behavior has been the same for as
> long as I can remember.

New description:

 The editor in WordPress 4.1 is great, and the whole sticky sidebar is a
 great improvement, but editing using Page Down and Page Up keys as part of
 the workflow is some of the most frustrating experience one can have
 because they control both the cursor in the post edit box and the page
 itself.

 For example, if I go into a short post, put the cursor at the beginning of
 the post, and press Page Down, I'm going to end up with this:
 [[Image(http://i.imgur.com/CZr3FXQ.png)]]

 At this point, I can only see a tiny sliver of the post because the page
 has scrolled too.

 This is similar to #30919, except I'm not talking about the distraction-
 free mode, which I almost never use.

 Windows 8.1 on Chrome 42 beta, but this behavior has been the same for as
 long as I can remember.

--

Comment:

 We should match the normal behaviour that a `textarea` has here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/31751#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list