@noeldelgado, I would be interested to know what you think of this.
We did some profiling and found that updating the contents of the scrolling div was quite expensive, because resetting the viewElement width made the browser reflow the entire DOM, which was often unnecessary.
Do you know the purpose of resetting this._viewElement.style.width? As you can see, I made it optional (and exposed this via the react wrapper); we've had it disabled in our application for some time now with no apparent ill-effects.
@noeldelgado, I would be interested to know what you think of this.
We did some profiling and found that updating the contents of the scrolling div was quite expensive, because resetting the viewElement width made the browser reflow the entire DOM, which was often unnecessary.
Do you know the purpose of resetting
this._viewElement.style.width
? As you can see, I made it optional (and exposed this via the react wrapper); we've had it disabled in our application for some time now with no apparent ill-effects.