Skip to content

Release bugfix for keyboard input handling#10

Merged
eyuelberga merged 2 commits intomainfrom
develop
Dec 26, 2025
Merged

Release bugfix for keyboard input handling#10
eyuelberga merged 2 commits intomainfrom
develop

Conversation

@eyuelberga
Copy link
Owner

@eyuelberga eyuelberga commented Dec 26, 2025

Closes #7

📝 Description

Fixes inconsistent keyboard input handling across environments by selecting the appropriate input event strategy at runtime.

⛳️ Current behavior (updates)

Input handling relies on a single event type, which can lead to incorrect behavior on some browsers and input methods.

🚀 New behavior

Uses beforeinput when available and falls back to keydown otherwise, ensuring consistent behavior across platforms.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

No public API changes or new dependencies.

Switch to beforeinput-based input handling with a safe keydown fallback to improve cross-platform
compatibility.

#7
@eyuelberga eyuelberga changed the title Release Bug Fix Release bugfix for keyboard input handling Dec 26, 2025
@eyuelberga eyuelberga merged commit 44bd491 into main Dec 26, 2025
1 check passed
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.

Not working on mobile.

1 participant