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

Improved comma tag completion on international keyboard layouts #1739

Closed
wants to merge 1 commit into from

Conversation

hughes
Copy link
Contributor

@hughes hughes commented Dec 23, 2013

Reported in issue #1475

  • String.localeCompare can be more reliable for keys that do not relate to cursor movement
  • Adds a third key handler (keypress) that contains the character code rather than physical key
  • COMMA key constant no longer required (unless , char should be a constant?)

There don't appear to be any tagging ui tests yet, but I tried this manually using the Russian keyboard layout. The б key no longer submits tags, and the , key does despite being mapped to what would otherwise be a ? key.

Not sure how this fits in to the greater scope of issue #1463 but it fixes the problem for now.

Reported in issue #1475
- `String.localeCompare` can be more reliable for keys that do not relate to cursor movement
- Adds a third key handler (`keypress`) that contains the character code rather than physical key
- `COMMA` key constant no longer required (unless `,` char should be a constant?)
@hughes
Copy link
Contributor Author

hughes commented Dec 23, 2013

Closing due to failed tests. Oops!

@hughes hughes closed this Dec 23, 2013
tigefa4u pushed a commit to tigefa4u/Ghost that referenced this pull request Aug 3, 2022
closes TryGhost#12294
refs TryGhost/Admin#1707

- cache registered shortcuts and check KeyboardEvent before dispatching event to the root
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

Successfully merging this pull request may close these issues.

1 participant