author Nicolas Chevobbe <nchevobbe@mozilla.com>
Tue, 26 Feb 2019 11:07:11 +0000
changeset 519034 2a52513df092ecb5cb7bf51b33adbbbf0267da4f
parent 457809 8934930b9199c69ec3d89ff119efafda87fef38c
permissions -rw-r--r--
Bug 1529615 - Don't scroll to bottom if there's no need to; r=Honza. We are trying to scroll to the bottom on componentDidMount and on message addition, even if the console output does not overflow. Since scrollToBottom can take a dozen ms (or more), we should avoid to call it when there's no need to. Differential Revision: https://phabricator.services.mozilla.com/D20688

Andreas Tolfsen <ato@sny.no> <ato@mozilla.com>
Nika Layzell <nika@thelayzells.com> Michael Layzell <michael@thelayzells.com>