[wp-trac] [WordPress Trac] #42561: No scrolling and selected word stays out of view when switching between Visual and Text modes
WordPress Trac
noreply at wordpress.org
Wed Nov 15 19:42:03 UTC 2017
#42561: No scrolling and selected word stays out of view when switching between
Visual and Text modes
-------------------------------------------+-------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.1
Component: Editor | Version: 4.9
Severity: normal | Keywords: needs-patch
Focuses: accessibility, administration |
-------------------------------------------+-------------------------
The fix from #42530 (specifically [changeset:"42184"]) doesn't seem to
work properly, and it behaves inconsistently across browsers. To
reproduce:
- Uncheck "Enable full-height editor and distraction-free functionality."
in the Screen options
- using Chrome, edit a long post starting in the "Visual mode"
- select a word that occurs at about the middle of the post content:
[[Image(https://cldup.com/tPgw-6wpIk.png)]]
- switch to "Text mode": no scrolling happens and the selected word stays
out of view:
[[Image(https://cldup.com/XovMqyzv1V.png)]]
- switch back to "Visual mode"
- the selected word is almost completely hidden at the top of the content
visible area:
[[Image(https://cldup.com/gitpyBHrYM.png)]]
Using Firefox instead, it behaves a bit better: at least the selected word
is visible when switching from VIsual to text:
[[Image(https://cldup.com/x4UiZEBviz.png)]]
See also #42553.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42561>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list