Skip to content

Fix detection of Option + Space key on macOS - #1801

Closed
WesleyKapow wants to merge 1 commit into
paperjs:developfrom
WesleyKapow:fix-bug-with-space-key-detection
Closed

WesleyKapow wants to merge 1 commit into
paperjs:developfrom
WesleyKapow:fix-bug-with-space-key-detection

Conversation

@WesleyKapow

Copy link
Copy Markdown
Contributor

The Option + Space key combination on macOS results in a non-breaking
space (U+00A0). This resulted in the modifiers not correctly detecting
the release of the space key.

To reproduce on a mac:

Expected:

  • Console log switches back to false.

Actual:

  • Console log continues to log true as the modifier is "stuck".

The Option + Space key combination on macOS results in a non-breaking
space (U+00A0). This resulted in the modifiers not correctly detecting
the release of the space key.
@lehni

lehni commented Oct 18, 2026

Copy link
Copy Markdown
Member

Thank you! This landed as is in #2123 (e1f6235).

@lehni lehni closed this Oct 18, 2026
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.

2 participants