Steps to reproduce
Since 1.4.6 there seems to be a regression in the way a scroll position is handled when properties are in a note.
- Create a new vault
- Create two notes with text longer than the height of the application’s window. For best results, make the notes of different length.
When you open the notes, either by clicking in the explorer pane or via Ctrl+O, the notes will open and display from the top.
Previous behaviour / non-property having behaviour:
- Open one note
- Scroll down a bit
- Open the other
- Now use Ctrl+Alt+left arrow / right arrow to switch between the notes
You will see that the scroll position of the first note maintains its accuracy within the note.
Now, add a property to both notes, say the tags property. No need to add any tags.
Bugged behaviour 1:
- Open the first note, scroll down
- Open the second note
- Switch back with Ctrl+Alt+left arrow
- Switch forward with Ctrl+Alt+right arrow
Notice the second note suddenly starts from the note’s text. So it isn’t showing the title or the properties.
Bugged behaviour 2:
- Open the first note by clicking on it with the mouse in the explorer pane
- Scroll down a bit
- Open the second note by clicking on it with the mouse in the explorer pane
- Scroll down a bit
- Click back and forth between the notes with the mouse in the explorer pane
Notice one of the notes’ scrollbar going lower and lower into the note’s content.
Did you follow the troubleshooting guide? [Y]
Expected result
Similar behaviour as when there are no properties present / behaviour from 1.4.5.
Actual result
Switching between notes causes at least one scrollbar’s position to “wander”, generally going to the bottom of a note.
Environment
SYSTEM INFO:
Obsidian version: v1.4.6
Installer version: v1.3.5
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none