Skip to content

Commit

Permalink
Merge pull request #49 from ThomasCybulski/Bugfix/wrong-autocomplete-…
Browse files Browse the repository at this point in the history
…width

added host css properties
  • Loading branch information
ThomasCybulski authored Oct 10, 2017
2 parents c38a4c9 + afb1d30 commit c5338fd
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions paper-chip-input-autocomplete.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,26 @@
<dom-module id="paper-chip-input-autocomplete">
<template>
<style>
:host {
display: block;
position: relative;
}

paper-item:hover {
background: #eee;
color: #333;
cursor: pointer;
}

paper-item.active,
:host ::content paper-item.active {
:host ::content paper-item.active {
background: #eee;
color: #333;
}

paper-item {
height: 0px; /* To resolve `min-height` bug on IE 11 */

--paper-item-selected-weight: normal;
--paper-item-min-height: var(--paper-chip-autocomplete-item-height, 48px);
--paper-item: {
Expand Down Expand Up @@ -179,19 +185,19 @@
type: Boolean,
value: false
},
/**
* The list of items, which will be set as paper-chips.
*/

/**
* The list of items, which will be set as paper-chips.
*/
items: {
type: Array,
value: function () {
return [];
}
},
/**
* Set to true to disable this input.

/**
* Set to true to disable this input.
*/
disabled: {
type: Boolean,
Expand Down Expand Up @@ -324,4 +330,4 @@
}
window.customElements.define(PaperChipInputAutocomplete.is, PaperChipInputAutocomplete);
</script>
</dom-module>
</dom-module>

0 comments on commit c5338fd

Please sign in to comment.