Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JedWatson/react-select
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Jan 13, 2018
2 parents fdd5a34 + b73e31e commit ab52641
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/react-select.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
margin-top: -1px;
max-height: 200px;
position: absolute;
left: 0;
top: 100%;
width: 100%;
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion dist/react-select.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions less/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
margin-top: -1px;
max-height: @select-menu-max-height;
position: absolute;
left: 0;
top: 100%;
width: 100%;
z-index: @select-menu-zindex;
Expand Down
1 change: 1 addition & 0 deletions scss/control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
vertical-align: middle;

> input {
width: 100%;
background: none transparent;
border: 0 none;
box-shadow: none;
Expand Down
1 change: 1 addition & 0 deletions scss/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
margin-top: -1px;
max-height: $select-menu-max-height;
position: absolute;
left: 0;
top: 100%;
width: 100%;
z-index: $select-menu-zindex;
Expand Down
4 changes: 2 additions & 2 deletions src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ class Select extends React.Component {
this.focusStartOption();
break;
case 46: // delete
event.preventDefault();
if (!this.state.inputValue && this.props.deleteRemoves) {
event.preventDefault();
this.popValue();
}
break;
Expand Down 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 ab52641

Please sign in to comment.