Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix width of list box entries #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexirion
Copy link
Contributor

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant