Prevent right sidebar from auto-scrolling on Contents toggling

We have the same issue with Logseq UI: Right Sidebar Width Presets & Keyboard Shortcuts to work in conjunction with T R:

  • Code doesn’t understand intentions, only instructions.
  • If you want to automate more than one thing at a time, cannot simply patch two independent codes, should create a new one that properly merges them.
  • Cannot mix Logseq’s behavior with own custom behavior, without modifying Logseq’s code.
    • Every time Logseq’s code is executed, it ignores the custom code, so it has the potential of breaking its results. Custom code should be triggered to either:
      • do everything after Logseq’s code has finished
      • do everything on its own, without Logseq’s code
  • Therefore, should come with a workflow that respects the above.