mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Markdown editors don't go to the last line

Open mhalano opened this issue 5 years ago • 18 comments

When I'm want to edit a note using the simple editor, I click on the last line of the note, my keyboard app opens and the editor scrolls down until the end of text so I can see what I'm editing, even with the keyboard app open. Markdown editors don't have the same behavior, they don't scroll down correctly so the text I'm trying to edit is covered by the keyboard app.

mhalano avatar Dec 16 '19 09:12 mhalano

Hi! Can you verify for me which device you are using and also which version of the Standard Notes app? You can view the version from by opening the left side menu, then going to the Settings menu (either by clicking your email at the top of the side menu, or the cog icon at the bottom right of the side menu). Then at the very bottom of the Settings screen is the version of the SN app.

Also, are you using any special keyboards that you have installed?

bryvin avatar Dec 17 '19 15:12 bryvin

I'm using a Motorola Moto Z2 Force with Standard Notes 3.0.17. I'm also using the SwiftKey Keyboard.

mhalano avatar Dec 17 '19 16:12 mhalano

Meant to ask in my original reply, but can you also confirm if this behavior still occurs when using the default keyboard?

bryvin avatar Dec 18 '19 01:12 bryvin

Meant to ask in my original reply, but can you also confirm if this behavior still occurs when using the default keyboard?

Yes. If I try to use GBoard the same problem occurs.

mhalano avatar Dec 18 '19 02:12 mhalano

Ok thank you for the quick replies. We will make note of this and try to reproduce on our end so we can look into a solution.

bryvin avatar Dec 18 '19 02:12 bryvin

Was going to open an issue, but somebody beat me to it. 👌

The problem could also be described as "the keyboard is covering the editor"

A dirty fix is to add a lot of empty lines to the end of the note, but it's not ideal.

Here is a screen recording where the issue is shown

EDIT: Just noticed that I had sound enabled for the screen recording. So enjoy the bartender talking.

Also, thanks for a great service! ✌️

mausworks avatar Jan 09 '20 20:01 mausworks

Confirming this issue is present on iOS v13.4.1.

Also, another workaround is:

  1. Toggle the preview so you're in edit mode; do not tap in the note area (if you, tap toggle twice to remove KB).
  2. Scroll to the bottom of the note.
  3. Now tap in the note area.
  4. Notice you are able to edit at the bottom of the note despite the KB coving the bottom part of the screen.

cyb3rz3us avatar May 17 '20 18:05 cyb3rz3us

@cyb3rz3us What markdown editors are you using? Is it affecting all of them for you? Thanks for the workaround!

JaspalSuri avatar May 18 '20 00:05 JaspalSuri

@JaspalSuri --- I have tested this on MD Pro, MD Minimalist and MD Basic --- all 3 exhibit the same issue.

The workaround I published works on all 3 as well.

BTW, if permitted to make an OT accolade, let me say that I find the MD Pro editor (my default) to be excellent.

cyb3rz3us avatar May 18 '20 18:05 cyb3rz3us

I can't reproduce this issue on any of the Markdown editors that you've mentioned. I tried it with the Markdown Pro Editor yesterday and couldn't reproduce it then, either. I'll go ahead and take a note of this anyway.

Can you try to see if signing out and signing back in helps? You might need to redownload some themes afterwards by long-pressing them individually and selecting the redownload option.

@radko93 are you able to reproduce this issue?

BTW, if permitted to make an OT accolade, let me say that I find the MD Pro editor (my default) to be excellent.

Thank you for the kind words! I'm glad that it's helpful. :)

JaspalSuri avatar May 19 '20 05:05 JaspalSuri

Hi @JaspalSuri --- Please disregard my question below. I created a new note to re-test and it behaves differently that the note where I see the issue.

Let me dig a little more to figure out what's going on here. I will also try and create a screen capture to help illustrate the issues.

Hi @JaspalSuri --- this may be self-evident but did you make that the note had plenty of lines such that it is longer than a single screen length?

cyb3rz3us avatar May 22 '20 02:05 cyb3rz3us

Thanks @cyb3rz3us; that would be greatly appreciated!

I noticed some issues when using the Markdown Pro Editor and being unable to dismiss the keyboard. I'll update what we have internally on this.

JaspalSuri avatar May 22 '20 03:05 JaspalSuri

OK - here's what I have found. I am able to reach the bottom of the note in Edit mode if the following procedure is used:

  1. Tap the Toggle Preview button to switch to Edit mode.
  2. Tap near the top of the note area.
  3. Try to scroll to the bottom of the note; this should fail as the scrolling should bounce after it rolls a little more than the first page.
  4. Wait a 1-2 seconds.
  5. Then try to continue scrolling to the bottom; this should work.

In essence, what I observe is that after scrolling the first page, the app stops scrolling for a second or two and then resumes. It's almost as if there is some kind of data reading glitch...not sure.

Let me now if there are any questions.

cyb3rz3us avatar May 30 '20 23:05 cyb3rz3us

I'm hitting this issue also. With Markdown Basic and Minimist, although the text doesn't pan up when I open the keyboard, I can scroll down to see the cursor again. On Markdown Pro, though, I can't scroll down enough to see the cursor. @cyb3rz3us's workaround procedure doesn't work for me.

Device: Motorola Moto G5 Plus OS: Android 8.1.0 SN version: 3.0.21

yoshw avatar Jun 01 '20 16:06 yoshw

I was finally able to reproduce this issue with Markdown Basic. It had issues with scrolling up and down.

@radko93 can you look into this?

JaspalSuri avatar Jun 02 '20 01:06 JaspalSuri

I will check it but cannot reproduce it yet.

radko93 avatar Jun 02 '20 11:06 radko93

Any news about that?

mhalano avatar Aug 25 '21 00:08 mhalano

Hi @mhalano, this is still on our list of bugs to fix.

JaspalSuri avatar Aug 26 '21 08:08 JaspalSuri