Open netzkind opened 9 years ago
Is there a problem with the performance when creating the scroller? Just trying to figure out if this change is necessary.
@netzkind ping
Sorry, i didn't think you are serious about this. The reset-method in nanoscroller does loads of things, none of which is necessary to do twice to a newly created element. If there is no need to do something, then why do it?
So yes, it's a performance-problem, especially when used on low-end-devices.
@netzkind Thanks for the explanation.
I'll need to test this out on different browsers before I can pull it in. Of course if you have time or interest to help with that, then merging these changes will be easier.