[wp-trac] [WordPress Trac] #29561: In Firefox, scroll bar jumps to beginning/end of editor upon page up/down when focused
WordPress Trac
noreply at wordpress.org
Sat Sep 6 20:07:48 UTC 2014
#29561: In Firefox, scroll bar jumps to beginning/end of editor upon page up/down
when focused
-----------------------------+------------------------------
Reporter: AmbushCommander | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses: ui
-----------------------------+------------------------------
Comment (by AmbushCommander):
More testing on a fresh Wordpress install reveals that this behavior only
occurs if you are using the text editor (not the visual editor). On the
visual editor, there is a different bug: if I select in the visual editor,
and then press page down, it does scroll down, but the cursor position
does not change. The behavior is indifferent to whether or not you are in
two-pane or one-pane mode.
Actually, playing around with the screen options, I have a hypothesis for
what is happening: in order to implement infinite scroll, Wordpress
currently configures the text editor box with a ludicrously large height.
It appears to be the case that some browsers (Firefox included) interpret
page-down as "move the amount of space indicated by the height of the
textarea". Since the textarea is so big, that essentially means, "move to
the bottom of the post"!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29561#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list