Skip to content

Fix/mobile input realtime#113

Open
Rozerxshashank wants to merge 3 commits intoAOSSIE-Org:mainfrom
Rozerxshashank:fix/mobile-input-realtime
Open

Fix/mobile input realtime#113
Rozerxshashank wants to merge 3 commits intoAOSSIE-Org:mainfrom
Rozerxshashank:fix/mobile-input-realtime

Conversation

@Rozerxshashank
Copy link
Contributor

Addressed Issues:

Fixes #96

Additional Notes:

Real-time Typing: Removed the "composition guard" that was causing mobile browsers to wait for a space or word completion
before sending letters. Characters are now delivered to the server immediately as you type.

Backspace Fix: Added e.preventDefault() and explicit input clearing to the backspace handler. This stops the browser from trying to "fix" words after a deletion, which was causing the server to be flooded with previous text fragments.

Input Hardening: Added spellCheck={false} and inputMode="text" to the hidden input field. This tells browsers to disable aggressive predictive text and autocorrect engines that often interfere with remote control functionality.

Checklist

  • My PR addresses a single issue, fixes a single bug or makes a single improvement.
  • My code follows the project's code style and conventions
  • If applicable, I have made corresponding changes or additions to the documentation
  • If applicable, I have made corresponding changes or additions to tests
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contribution Guidelines
  • Once I submit my PR, CodeRabbit AI will automatically review it and I will address CodeRabbit's comments.

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.

[Bug]: Previous input stays after injection

1 participant