datalist-polyfill icon indicating copy to clipboard operation
datalist-polyfill copied to clipboard

Fix width of list box entries

Open alexirion opened this issue 4 years ago • 0 comments

Before this change, an item of the datalistSelect box did not take the same width as the corresponding input box. For example, when an animal is selected (using IE9) on the test side https://mfranzke.github.io/datalist-polyfill/demos/ie9/ the selection bar does not extend from the left to the complete right of the input box. Setting the width attribute instead minWidth fixes this issue. Now, the blue selection bar of an item has the same width than the input box.

alexirion avatar Oct 07 '19 21:10 alexirion