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

Loosing Focus Onchange? #17

Open
jcsix694 opened this issue Nov 14, 2024 · 1 comment
Open

Loosing Focus Onchange? #17

jcsix694 opened this issue Nov 14, 2024 · 1 comment

Comments

@jcsix694
Copy link

Hey, how do i stop Quill from loosing focus when using and setting data with OnChange?

@VaguelySerious
Copy link
Owner

@jcsix694 Can you share a minimal reproducible code example? Otherwise it might be difficult to help you.

Some guesses as to the reason you lose focus:

  • Your react component is re-rendering on change. Make sure the component has no hooks that trigger together with the onchange call.
  • Your particular setup might require a static key prop to be set on your ReactQuill node.

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

2 participants