Horizontal scrollbar won't scroll while selecting text in Markdown tables (Source Mode)

When a Markdown table has a lot of content, a horizontal scrollbar shows up in Source Mode (which I assume is expected). The problem is that the scrollbar doesn’t move while you’re selecting text in the table. So if part of the content is only visible after scrolling sideways, you can’t select it.

Steps to reproduce

  1. Open a Sandbox vault.
  2. Switch to Source Mode.
  3. Create a Markdown table that’s wide enough to overflow the editor, so a horizontal scrollbar appears. If it worked, the scrollbar should let you scroll over to see the rest of the table.
  4. Try to select some text in the table by dragging across it.

Did you read and follow the Troubleshooting Guide ? [Yes/No]

Yes

Expected result

The horizontal scrollbar moves as you select, so you can scroll over and select the content that’s off-screen.

Actual result

The scrollbar doesn’t move while you’re selecting, so the off-screen text can’t be selected or even seen.

Environment

SYSTEM INFO:
	Obsidian version: 1.14.4
	Installer version: 1.14.4
	Operating system: Windows 11
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

Sometimes this also happens in Live Preview, if you do it fast enough. I tried it in Reading View and it doesn’t happen there.