Closed frankreporting closed 2 years ago
I am not able to reproduce this. Have you tried in a new vault without plugins/snippets?
Yeah. Clean vault had no issues. Let me do some more thorough plug-in testing
Actually I suddenly can't reproduce either. Very odd. Closing this. Sorry for the false alarm!
Fwiw I did manage to recreate, but it appears to be something caused by my implementation of Dataview and customJS to render tasks. Again, sorry for the false alarm.
I am experiencing the same problem. Can't reproduce systematically but the problem appears every now and then.
Same thing on my side: I have a daily note template in which I have a section with bullet points. When I start typing on the first or any other bullet point after a few words the cursor jumps to any point in the current note. When I turn the minimal theme off, this does not happen, that is unfortunate, as I really like this theme.
@svenschuldt I need more specific steps to reproduce. Please include a sample file, and make sure you can reproduce in a new vault with only Minimal Theme + Minimal Theme Settings
I need to sincerely apologize: it looked at the beginning that it worked with the minimal theme - but the cursor does skip as well. It seems to happen in notes that have a number of dataview/dataviewjs tables which keep on updating. I need to dig deeper there!
Nothing to do with minimal theme - SORRY!
FWIW, I had the same/similar issue with ITS Theme.
Spun up a clean test vault and the issue is replicable when using ITS but, interestingly enough, I can't replicate it with Minimal theme.
I think I solved it. I had added this .css code in my config to reduce the interline space. Removing it made the cursor bug disappear.
.mod-cm6 .cm-editor .HyperMD-header, .markdown-reading-view .markdown-preview-section :is(h1,h2,h3,h4,h5,h6) {
line-height: 1em !important;
margin:2px 0px 2px 0px !important;
padding: 1px 0px 2px 0px !important;
}
Confirmed that the bug is not present when Minimal theme is off.
Describe the bug Ever since the new cursor in latest insider desktop version of Obsidian (0.14.10), I've noticed the cursor jumps unexpectedly.
To reproduce Try arrowing up and down, left and right, and move through at least a couple different types of formatting, including checklist and admonition/callout. Also try using the keyboard shortcuts to jump to beginning/end of line (i.e. ⌘← and ⌘→ on macOS).
Expected vs. actual behavior Cursor should move up and down one line at a time, or it should jump to the beginning or end of the existing line. If already at the beginning/end of a line, it shouldn't move at all. Instead, up/down sometimes skips a line, or jumps to the end of a callout even though starting from several lines above the callout. Also, if already at the beginning of a line, and using ⌘ key to jump to beginning of line, instead the cursor jumps to beginning/end of file.
Screenshots
https://user-images.githubusercontent.com/2828254/168212123-9100c28b-9445-42ed-9852-f5fbd97c3646.mov
Debug info (required):