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

Improve JS performance. (Debounce Parameter Made Controlled by Users) #71

Open
currenge opened this issue Nov 16, 2020 · 1 comment
Open

Comments

@currenge
Copy link

Hi Jules,

I suggest you make this debounce parameter accessible for user controlling it.

This parameter is placed on line 109 of the file “cf7-conditional-fields / js / scripts.js “ (version 1.8.7).

At my form of about 10 divscreens and about 40+ conditional logic (you may see them attached) using your plugin, the value 100 (ms?) made the form slow down, while the a value as 400 allows it to fly...

@pwkip
Copy link
Owner

pwkip commented Mar 8, 2021

After the problems with CF7 5.4 are fixed, I will give this a look. The quick fix seems to be to indeed increase this value, but I will check if I can find another way to improve performance without damaging the response time.

@pwkip pwkip changed the title Debounce Parameter Made Controlled by Users Improve JS performance. (Debounce Parameter Made Controlled by Users) Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants