If the items of the menu div extend past the width of the parent input, the div will overflow into other parts of the page. What would be the impact of adding a max-width to the styles object, effectively doing max-width = min-width?
If the autocomplete bumps up to the edge of the browser, it automatically wraps.
If the items of the menu div extend past the width of the parent input, the div will overflow into other parts of the page. What would be the impact of adding a
max-width
to the styles object, effectively doingmax-width
=min-width
?If the autocomplete bumps up to the edge of the browser, it automatically wraps.