Incompleted Inline Math Selection in Preview Mode

Steps to reproduce

  1. Enter preview mode.
  2. Add an inline math block, make sure:
    • math block is at the end of its line.
    • curcor is not in this line.
  3. Click and drag from any position in this line after the end to any of the previous lines.

Did you follow the troubleshooting guide? Y

Expected result

The whole line being selected.

Actual result

Part of the math block not being selected.

Environment

Windows 11, x64


Additional information

Illustrations of the issue:

  1. image
  2. Result(click and drag from position 2 to 1)image
  3. Result(click and drag from position 2 to 3)image

I can’t reproduce. Post a screen recording of this happening in the sandbox vault.

record