-
Notifications
You must be signed in to change notification settings - Fork 378
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
lu inline editor swallow characters #1748
Comments
looks like unexpected re-render, i will take a look |
the solution should be controling the submission rate of that editor to avoid triggerring save api too frequent. form editor also ran into this problem. to entirely solve this kind of issue, we should avoid resetting global state at each invocation of the save handler |
Sure it is, every form commit would case a global state change. For one component, if the value it referred changed, it would auto re-render it self. for most component, it works fine. But for some editing field, like monaco-editor, text-input, it cause lost forcus or blur cursor. My current solution here is maintain a local state, avoid re-render triggered by global state, not the best but works anyway. Appends: |
addressed in #1765 |
Complete the necessary portions of this template and delete the rest.
Describe the bug
inline lu editor swallow characters if enter quickly.
Version
master branch
Browser
What browser are you using?
OS
What operating system are you using?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: