angular-vertilize icon indicating copy to clipboard operation
angular-vertilize copied to clipboard

Why is element.clone() used?

Open Lorless opened this issue 7 years ago • 1 comments

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.

Lorless avatar Mar 20 '17 15:03 Lorless

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; };

smalu avatar Apr 04 '17 15:04 smalu