Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: entering right round bracket before left causes caret to jump to start #2558

Open
orelbn opened this issue Dec 3, 2024 · 0 comments
Open

Comments

@orelbn
Copy link

orelbn commented Dec 3, 2024

Description

Entering the right bracket in the math-field and then going back to enter the left causes the caret to jump towards the beginning.

Screen.Recording.2024-12-02.at.7.53.07.PM.mov

Steps to Reproduce

I encountered this in my application, but it's reproducible on the website's editor (I used Chrome).

  1. First, go to the editor: https://cortexjs.io/mathlive/editor/
  2. Enter an equation such as 1+2*3+4
  3. Add right-round bracket ).
  4. Add a left-round bracket (, somewhere before the right-round bracket.

Example input: 1+2*(3+4)

  1. Then, the caret jumps towards the beginning.

Actual Behavior

The caret jumps toward the beginning if following the steps above.

Expected Behavior

The caret should appear following the ( character

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant