iscroll
iscroll copied to clipboard
Suggestion - Update Destroy() method to clean scroller styling
After applying .destory() the style of the scroller remains with -webkit-transform which might cause issues when parent layer are going through transitions.
I suggest to update the .destroy() method so that it will remove any styling from the .scroller.
Currently I workaround this by doing:
scroll.destroy();
$(scroll.scroller).attr('style', '');
scroll = null;
I second this - it seems counter-intuitive (and broke my tests) that a destroy call should not return the DOM to it's original state Thanks
Addiitionally shouldn't the scroller remove it's references to its dom element?
+1
+1
After doing the above workaround, transition is still remaining on the element. This property is not removed