 # React libraries
 {React, ReactDOM, rclass, rtypes, Actions, Store, Redux}  = require('./smc-react')
 {Icon, Loading, TimeAgo} = require('./r_misc')
-{Button, Col, Grid, Input, ListGroup, ListGroupItem, Panel, Row} = require('react-bootstrap')
+{Button, Col, Grid, Input, ListGroup, ListGroupItem, Panel, Row, ButtonToolbar} = require('react-bootstrap')
 
 {User} = require('./users')
 

            return
        node = ReactDOM.findDOMNode(@refs.log_container)
        node.scrollTop = node.scrollHeight
        @_ignore_next_scroll = true
        @_scrolled = false

    on_scroll: (e) ->
        if @_ignore_next_scroll
            @_ignore_next_scroll = false
            return
        @_scrolled = true
        e.preventDefault()

    componentDidMount: ->
        if not @_scrolled
            @scroll_to_bottom()

    componentDidUpdate: ->
        if not @_scrolled


    set_input: (input) =>
        @setState(input:input)

    save_position: (position) =>
        @setState(position:position)

# boilerplate setting up actions, stores, sync'd file, etc.
syncdbs = {}
