Enter not working in math environment

Steps to reproduce

When editing a block equation, the enter key won’t work if I directly press it at the end of a line. I need to add an additional space at the end of the line before the enter key can work.

Environment

  • Operating system: Both windows 10 and Macos big sur has this issue
  • Obsidian version: 0.12.4

Additional information

Can’t repro. Post a screen recording of this happening in the help vault.