[wp-trac] [WordPress Trac] #27013: Contain scrolling inside the editor
WordPress Trac
noreply at wordpress.org
Thu Feb 6 23:46:30 UTC 2014
#27013: Contain scrolling inside the editor
---------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.9
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: needs-testing | Focuses: ui
---------------------------+-----------------------
Comment (by nacin):
I've been playing with this for a few days and I think it's probably a bit
too heavy-handed and could use some adjustments. I'm talking best-
possible-UX here, not necessarily what is feasible.
* When scrolling down the page (when your mouse starts outside the visual
editor), once it overlaps the editor you'll get "stuck". It should let a
scroll continue if it started outside the editor.
* If you use a one-column view and a collapsed admin menu (like me,
sometimes), it's basically impossible to find a place outside the editor
to scroll down. Even when using two columns, it isn't as intuitive.
Perhaps it would be better if we found a way to "throttle" this. If you're
not at the bottom of the editor, then let them scroll to the bottom and
"stop". But if you are already at the bottom of the editor, it should let
you scroll down. Now, most scroll gestures stop-and-start as you take your
fingers off the mouse or trackpad to continue scrolling some more. So
perhaps it should debounce (not throttle) and only let you scroll outside
the editor if you paused for more than X milliseconds.
* When scrolling to the top, it should let you scroll the window up just
enough to place the toolbar entirely in view.
Just some initial thoughts. Any others?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27013#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list