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

Subscript Behavior Of Log and Sin Inconsistent With Other Subscripts #2477

Open
andrew-murdza opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@andrew-murdza
Copy link

andrew-murdza commented Aug 6, 2024

Steps to Reproduce

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Change FontShape of MathField</title>
  <script defer src="https://unpkg.com/mathlive"></script>
</head>
<body>
<math-field>\log_2+x_2+\sin_2</math-field>
</body>
</html>
  1. Run the above code
  2. Delete the subscript of 2 for $x_2$
  3. Delete the subscript of $\log_2$
  4. Delete the subscript of $\sin_2$

Actual Behavior

  1. Deleting the subscript of $x_2$ removes the subscript in a desirable way
  2. Deleting the subscript of $\log_2$ deletes the whole log and not just the subscript
  3. Deleting the subscript of $\sin_2$ leaves the cursor inside of the subscript unless arrow keys are used

Expected Behavior

The subscripts of $\log_2$ and $\sin_2$ behave like the subscript of $x_2$

Environment

Version 0.101.0 on Chrome in Windows

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