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

Background Selection Color Doesn't Change When Cursor is Not Focused On MathField #2478

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

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>x+1</math-field>
</body>
</html>
  1. Run the above code
  2. Highlight "x"
  3. Change the background color using the menu
  4. Click on the right side of the +
  5. Highlight "x"
  6. Click away from the MathField

Actual Behavior

  1. The background color is darker when first added
  2. Moving the cursor to the right side of the + sign makes the background lighter
  3. Clicking away from the MathField does not make the background lighter

Expected Behavior

  1. The background becomes lighter when clicking away from the MathField just like clicking to a different part of the MathField

Environment

0.101.0, Windows, Chrome

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