Skip to content

Commit 34a1fa8

Browse files
committed
fix: fixed #2558
1 parent 708e1bf commit 34a1fa8

File tree

4 files changed

+747
-692
lines changed

4 files changed

+747
-692
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@
8484
`\hat{}`, etc.) not being clickable. When clicking on a placeholder wrapped
8585
in an accent command, the cursor now correctly positions inside the
8686
placeholder instead of selecting the entire accent atom.
87+
- **#2558** Fixed cursor jumping to the beginning when entering a left
88+
parenthesis before a previously entered right parenthesis. When typing a
89+
closing bracket first (e.g., `1+2+3)`), then moving the cursor back and
90+
typing an opening bracket `(`, the smart fence feature would correctly create
91+
`\left(2+3\right)` but would incorrectly position the cursor at the start of
92+
the expression instead of after the opening parenthesis. The cursor now
93+
properly stays positioned inside the newly created fence, right after the
94+
left delimiter.
8795
- **#2547** Fixed rendering of `\colorbox` in fractions where the colored
8896
background would obscure the fraction bar. The background is now rendered
8997
behind the content using a CSS pseudo-element with `z-index: -1`, preventing

0 commit comments

Comments
 (0)