obsidian-remember-cursor-position
obsidian-remember-cursor-position copied to clipboard
Not working on Android
File is correctly updated with cursor position however it does not scroll to position after closing the file or exiting obsidian. Tested in source view and live view.
Obsidian 1.4.9 Android 13, pixel 6a
I found a way to make this plugin work on Android.
- Enable core plugin "workspaces"
- Enable this plugin
- Open file
- Save workspace for the file you want to have cursor location saved.
From thereon if you make sure to closer that file/workspace without changing the workspace, like opening another tab, the workspace will be saved to open where you left off.
By themselves neither plugin will save and open the file to the proper location, just opens the file to the top.
Maybe there's something in this that'll help figure out why the plugin needs a workspace saved or maybe a workaround so that it's not needed in the future 🤷♂️
Thanks for the useful information
Found more useful info for Android users.
The plugin will remember cursor position without saving a workspace however once you close the file you MUST open it via "see recent files" or search. If you open the file via the file manager it'll open at the beginning of the document.
It seemed odd that the json file was properly being updated but then wasn't triggering the file to the property location. So, for Android, there seems to be a bug, or feature 😄, that resets the cursor position, or ignores the plugin, when the file is opened via file manager 🤷♂️
Same issue experienced on Android: Samsung Tab S8+, Android 13 Obsidian 1.4.16(114)
The cursor position always comes back to line 0.