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

(fix): beforeinput spellchecking bug on firefox #24882 #24917

Closed

Conversation

juank1809
Copy link

fixed react spellcheking on beforeinput bug

fixed spellcheking bug in firefox

fixed react spellcheking on beforeinput bug

fix spellchecking bug on firefox

Summary

This resolves #24358, in which the beforeInputEvent wasn't firing when triggering a spellchecking in firefox. The problem was in the getFallbackBeforeInputChars function: the spellchecking event is interpreted as an 'input' event in firefox, which the function wasn't handling.

How did you test this change?

I tested this change in the fixtures/packaging/babel-standalone/dev.html recreating the exact sandbox that creator of the issue built and the beforeInput fired as expected.

fixed react spellcheking on beforeinput bug

fixed spellcheking bug in firefox

fixed react spellcheking on beforeinput bug

fix spellchecking bug on firefox
Copy link

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Apr 10, 2024
Copy link

Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!

@github-actions github-actions bot closed this Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Resolution: Stale Automatically closed due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: beforeInput event doesn't fire when input is replacing previous text
2 participants