Document paranoia on the startAtBottom param

pull/21833/head
David Baker 2016-09-16 17:48:08 +01:00
parent 806ef11fde
commit d0fd6e985f
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ module.exports = React.createClass({
/* startAtBottom: if set to true, the view is assumed to start /* startAtBottom: if set to true, the view is assumed to start
* scrolled to the bottom. * scrolled to the bottom.
* XXX: It's likley this is unecessary and can be derived from
* stickyBottom, but I'm adding an extra parameter to ensure
* behaviour stays the same for other uses of ScrollPanel.
* If so, let's remove this parameter down the line.
*/ */
startAtBottom: React.PropTypes.bool, startAtBottom: React.PropTypes.bool,