Implement shouldComponentUpdate for ScrollbarComponent

It checks that the incoming scrollTop/Left and scrollHeight/Width differ
from their current values. The scrollTop/Left value are updated in
the component properties to always reflect the state of the DOM when
scrolling or when assigning a new value.
This commit is contained in:
Nathan Sobo
2014-04-15 13:35:02 -06:00
parent ddc677fb30
commit 64a487eebb
2 changed files with 19 additions and 12 deletions

View File

@@ -54,7 +54,7 @@
"temp": "0.5.0",
"text-buffer": "^2.1.0",
"theorist": "1.x",
"underscore-plus": "^1.1.2",
"underscore-plus": "^1.2.0",
"vm-compatibility-layer": "0.1.0"
},
"packageDependencies": {