Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Added scrollbar and more options in typeahead (#595)
Browse files Browse the repository at this point in the history
* fixed typeahead to fit style rules

* change limit to 500
  • Loading branch information
Chris Webster authored and jkleinsc committed Jul 19, 2016
1 parent fda836f commit ab737ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/type-ahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default InputComponent.extend({
hint: true,
highlight: true,
lastHint: null,
limit: 500,
minlength: 1,
selectedItem: false,
inputElement: null,
Expand Down Expand Up @@ -73,6 +74,7 @@ export default InputComponent.extend({
minLength: this.get('minlength')
}, {
displayKey: this.get('displayKey'),
limit: this.get('limit'),
source: this._getSource(),
templates: this.get('templates')
});
Expand Down
3 changes: 3 additions & 0 deletions app/styles/_temp_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ $table-header-color: rgba($navy_drk2,.7);
padding: 5px 0;
width: 100%;
min-width: 160px;
max-height: 110px;
overflow-y: scroll;
overflow-x: none;

.query-results { margin-bottom: 0; }
}
Expand Down

0 comments on commit ab737ff

Please sign in to comment.