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

Block menu and keyboard shortcuts #5

Open
ivteplo opened this issue Jul 28, 2022 · 0 comments
Open

Block menu and keyboard shortcuts #5

ivteplo opened this issue Jul 28, 2022 · 0 comments

Comments

@ivteplo
Copy link
Contributor

ivteplo commented Jul 28, 2022

Lotion recognizes keyboard shortcuts as if Ctrl or Alt weren't pressed. For instance, if a user presses Ctrl+Z, then a letter z will be added to the search term, while in the editor the shortcut will work as it should (it will undo the last action).

Preventing a letter from being added when a user presses a shortcut is quite simple to do (just extra check for Ctrl and Alt keys). But I currently have no idea how to fix the difference between input and search term that is produced when a user presses Ctrl+Z or Ctrl+Backspace.

ivteplo added a commit to ivteplo/dashibase-lotion that referenced this issue Jul 28, 2022
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