-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
The caret is invisible after an empty group {}
#1846
Comments
Can I ask why you're doing this? |
Not sure what the use case is in this particular instance, but in general any valid LaTeX should be handled correctly by MathLive.
|
I have a website that lets people save math expressions and sometimes they enter invalid expressions or expressions that are a work in progress. If they come back later to edit those expressions they might run into this and be confused why a cursor is not appearing. I agree that this is probably not something will happen regularly, but seemed like bug that was worth reporting. |
This is now working correctly. |
Thanks for fixing this. |
Description
The cursor is not visible when focusing (clicking) on a mathfield if the field was initialized with an empty superscript or subscript.
Steps to Reproduce
To reproduce open https://cortexjs.io/mathlive/guides/interacting/
in the "changing content" section, enter the latex "x^{}"
then in the math field, click to right of the x, notice the field is in focus but the cursor does not appear.
Environment
Chrome on OSX
The text was updated successfully, but these errors were encountered: