We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7740a commit 8d15d6bCopy full SHA for 8d15d6b
frontend/src/ts/controllers/input-controller.ts
@@ -729,10 +729,13 @@ function handleChar(
729
730
const newActiveTop = activeWord?.offsetTop;
731
//stop the word jump by slicing off the last character, update word again
732
+ // dont do it in replace typos, because it might trigger in the middle of a wrd
733
+ // when using non monospace fonts
734
if (
735
activeWordTopBeforeJump < newActiveTop &&
736
!TestUI.lineTransition &&
- TestInput.input.current.length > 1
737
+ TestInput.input.current.length > 1 &&
738
+ Config.indicateTypos !== "replace"
739
) {
740
if (Config.mode === "zen") {
741
if (!Config.showAllLines) void TestUI.lineJump(activeWordTopBeforeJump);
0 commit comments