ellipticaljs / paper-autocomplete

Polymer Autocomplete Component
MIT License
68 stars 66 forks source link

Suffix icon wrap into next line when width of element is narrow (i.e. 200px) #124

Closed andrewspy closed 2 years ago

andrewspy commented 6 years ago

Description

Suffix icon wrap into next line when width of element is narrow (i.e. 200px).

Reproduce

  1. Use the "Using suffic" demo.
  2. Set the width of the element with style="width: 200px;"
  3. Key in anything (i.e. 'a')
<paper-autocomplete id="suffix" style="width: 200px;" class="autocomplete-states" label="Using suffix">
  <paper-icon-button slot="suffix" suffix icon="search"></paper-icon-button>
</paper-autocomplete>

Expected Result

Suffix icon should not be wrap.

Actual Result

Suffix icon is wrap to next line.