A lot more difficult than I first thought it would be. The $nextTick call is required because updates from calling this.output.push() happen asynchronously(?) and the scrolling would take place before the last item was added to the dialog. This way, the scroll is done right after each item is added.
Let me know if I did this correctly, as this is still all very new to me. Thanks.
Attempt to close #26
A lot more difficult than I first thought it would be. The
$nextTick call
is required because updates from callingthis.output.push()
happen asynchronously(?) and the scrolling would take place before the last item was added to the dialog. This way, the scroll is done right after each item is added.Let me know if I did this correctly, as this is still all very new to me. Thanks.