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

On the virtual keyboard the } key does not return correctly #2417

Closed
guillermomartinez opened this issue Jun 27, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@guillermomartinez
Copy link

Description

mathlive1.mp4

Steps to Reproduce

(Required) Provide steps that are specific and repeatable

  1. I activate the virtual keyboard
  2. Enter the } key
  3. The value returned is ]

Actual Behavior

When I type the } key it returns ]

Expected Behavior

When I type the } key it should return }

Environment

MathLive version 0.100.0

Operating System macOS, Windows, iOS. Include the version
Windows 10

Browser _Safari, Chrome, Edge, Firefox, etc... Try several browsers and note
Chrome, Edge, Firefox

The problem is on this line
https://github.com/arnog/mathlive/blob/master/src/virtual-keyboard/utils.ts#L898
{ latex: '\\rbrace', key: ']' },

Should be
{ latex: '\\rbrace', key: '}' },

@arnog arnog closed this as completed in 1dc0638 Jun 27, 2024
@arnog
Copy link
Owner

arnog commented Jun 27, 2024

Thanks for reporting this and tracking down the issue. PRs are also gladly accepted!

@arnog arnog self-assigned this Jun 27, 2024
@arnog arnog added the bug label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants