-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
How to cancel auto focus after initialization? #1730
Comments
I tried to use it in this way, but it couldn't achieve the expected effect. Although the focus is cancelled, the page has scrolled to the position of the editor instead of staying at the top of the page. I don't know if it is used incorrectly.
|
I think it can not be solved via API because we can only call @js87zz It needs to be solved via props, like |
@big-dream @ats1999 |
This issue is a blocker for me, since it prevents toast-ui editor to integrate with the rest of my UI, as it steals the focus. |
@big-dream |
@js87zz |
Can you try #2030 to see if it fixes your problem? |
So the authorities are still working on it? I am currently using NPM install V3.1.0 is there a temporary fix? |
This is working per version 3.2.1, though I could not find it documented |
Summary
Now that the TOAST UI Editor instance is created, it will automatically focus the browser on the editor, which will affect the user experience. This is not the case with the v2 version. How can I cancel the auto focus?
Screenshots
Version
3.0.1
Additional context
The text was updated successfully, but these errors were encountered: