Skip to content

Commit

Permalink
Fix rendering with arrowRenderer and no autosize.
Browse files Browse the repository at this point in the history
The container for the input element lacked "display: inline-block",
which is present on both the AutosizeInput component and the disabled
version of the component.
  • Loading branch information
Harry Kao committed Jan 10, 2018
1 parent 851d94b commit d235dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ class Select extends React.Component {
);
}
return (
<div className={ className } key="input-wrap">
<div className={ className } key="input-wrap" style={{display: 'inline-block'}}>
<input id={this.props.id} {...inputProps} />
</div>
);
Expand Down

0 comments on commit d235dee

Please sign in to comment.