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(rjsf): remove debounce #77

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

benforshey
Copy link
Contributor

This PR removes the RJSF's debounce. The effect on large forms is that the UI hangs a bit on blur when moving from one input to another. Previously, for models that used the large form option, if it wasn't actually a very large model (I only tested Collection Metadata) it would sometimes fail to write text and sometimes fail to erase text on blur. Removing the debounce seems to fix this, but it also makes advancing the cursor to another input hang for a second on large models while it validates. This happens less with ajv8 6 alpha, but it still happens.

@benforshey benforshey requested a review from joncarlson January 23, 2025 20:11
@benforshey benforshey self-assigned this Jan 23, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removes debounce and its documentation.

@joncarlson joncarlson requested review from joncarlson and removed request for joncarlson January 28, 2025 15:07
@benforshey benforshey merged commit d219fa8 into main Jan 28, 2025
2 of 5 checks passed
@benforshey benforshey deleted the fix/MEDITOR-844-resolve-sluggish-input-text branch January 28, 2025 15:17
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.

2 participants