Skip to content

Make component render correctly when used with input-group #74

Description

@atuttle

Given:

<div className='form-group'>
    <label className='control-label col-md-3'>To</label>
    <div className='col-md-6'>
        <div className="input-group">
            <Typeahead
                onInputChange={this.setDesignation}
                options={designationList}
                defaultSelected={ [ this.props.designation ] }
            />
            <div className="input-group-btn">
                <a className='btn btn-primary btn-block' href='/giving'>Browse...</a>
            </div>
        </div>
    </div>
</div>

The result is that the dropdown for selecting a value hovers over the input (instead of below it):

image

This is problematic because in single-selection mode it is not immediately obvious that you need to backspace away your selection in order to see the list again, if that's what you're trying to do:

image

I think this problem would go away if #73 were implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions