Details
Description
Steps to reproduce
- Create or go to a page with a lot of text (to have several screen views down)
- Edit the page in-place
- Click on "Source" button
- Place the caret on the first top text line
- Press Page Down
- Type some text
- Observe the inserted text
Expected results
After pressing Page Down, the caret is placed just below the sticky toolbar, so the text can be seen as it's being typed.
Actual results
After pressing Page Down, the caret is placed behind the sticky toolbar which is at the top of the editing area, so the typed text is not visible until it reaches the end of the bar.
It is to be mentioned that on Chrome and Edge on Source mode the view is advanced with one screen when pressing Page Up/ Down, but on Firefox the view is advanced all the way to the bottom (no intermediate screen scrolls, which is unexpected).
As a result, on this case, the typed text is obstructed by the bottom sticky toolbar which occupies the whole width of the editing area, so the user has to scroll down in order to see the typed text.
This behavior does not reproduce in Firefox if the page is edited in WYSIWYG mode (instead on Source), where the screen view is advanced one at a time.
Attachments
Issue Links
- relates to
-
XWIKI-22965 Page Up/Down keys don't behave as expected in the Source mode of the inplace WYSIWYG editor
-
- Closed
-