When inside a multiline code block, using Up or Down key does not lead to the next line in code block, but skips it completely and text pointer skip to the neares block next to the code block (previous or next, accordingy).
To Reproduce
Create a page with a code block that contains at least three lines (could be two if testing only one direction).
Make sure there are some blocks before or after the code block.
Place text cursor in the middle line of code block.
Press Up or Down key.
Text cursor will skip the remaing lines of code and go to the previous/next block.
Expected behavior
Navigating lines with Up and Down keys should work inside of code block.
OS: Windows 10
Desktop (please complete the following information):
In the recording I am placing text cursor in the middle line and pressing Up/Down once, then mouse clicking to get text cursor back to the middle line.
The behavior is a bit stranger than that. You can surely go all the way down with no issues but you can go up only once and that is if you are on the last line in the code block. After going up once (or if the cursor is not on the last line), when you press the up arrow key, the cursor jumps to the line above the code block.
By the way, when I say the cursor is on the last line, I mean it is at the end of the last line. It will not work otherwise.
@Kirill_Lem@Tymoteusz Yes, I am not sure as to whether it would be appropriate to create a new thread for this but this behavior is not specific to code blocks.
Create a document.
Type something.
Create a new block of text.
You cannot go up/down in lines between the two blocks. It is as if there is a barrier in between blocks of text that prevents you from switching from a block to another one. (Does not happen all the time)
It depends on whether you think of “Navigation” to mean within documents and the editing experience as well as the more common between documents and throughout the app. Navigation would generally refer to how you “get around”, e.g. home, back/forward, jump to page, etc. I would call this “Editing” if there was a category for that, and if not, then a more generic “UI/UX”. But I can see why it feels like “navigation” as well.