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

Why is element.clone() used? #21

Open
Lorless opened this issue Mar 20, 2017 · 1 comment
Open

Why is element.clone() used? #21

Lorless opened this issue Mar 20, 2017 · 1 comment

Comments

@Lorless
Copy link

Lorless commented Mar 20, 2017

My page is running very slow with vertilize and i can only assume its the element.clone() duplicating loads of inputs. Why do you use this? I've seen the comment but I still don't quite understand why you can't just take the height.

@smalu
Copy link

smalu commented Apr 4, 2017

I guess this is also related to #15. I had the same issue and for me the workaround is simply:

var getMyRealHeight = function(){ return element.clientHeight; };

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

No branches or pull requests

2 participants