-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
6.0.0-beta.20
Current Behavior
We observed this issue with our implementation of rjsf but were able to reproduce it also on current playground version. When in playground using the "Layout Grid" sample with "Live validation" turned on, after couple of edits (e.g. writing approx 30 characters in various fields) the whole form/page becomes unresponsive. Each change (writing into text field, toggling a checkbox) takes more than a second.
Expected Behavior
The performance should not degrade.
Steps To Reproduce
- In Firefox:
- Open playground, choose "Layout Grid" and switch on "Live validation"
- Write 1234567890 into First Name using keyboard
- Write 1234567890 into Middle Name
- Write 1234567890 into Last Name
- Write 1234567890 into AddressExpected: The form should update quickly
Actual: Every keypress is reflected in the Input and Data after ~1s
Environment
- OS: Windows 11
- Browser: Firefox, Chrome
Anything else?
I think this is tied to Layout Grid. Even without Live validation there is stuttering when data is changed quickly. In Chrome the issue is less noticeable but the performance still degrades.