You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Auto Complete component of the Material UI Kit for one of my projects. We have a lengthy list of items and we use the Auto Complete component to quickly search through the items; which works well. However, when I use the component in smaller sized windows (ex: dialog box), height of the component doesn't adjust to height of the window. Therefore, I cannot access the items listed below.
I have attached a screenshot which shows similar situation in your sample
(even though all items are accessible by scrolling parent page).
Versions
Material-UI: v0.15.0
React: 15.0.2
Images
The text was updated successfully, but these errors were encountered:
I have same issue.
When the autocomplete list is bigger than window`s height then it overflows the window. I think it should have max height of window or it should accept maxHeight style and if the list has bigger height than provided maxHeight then it should create scrollbar.
btw. It's possible to provide listStyle with maxHeight, but when I provide maxHeight: '100%' it does not work and overflows the window like on screenshot provided by @kinsly and if I provide static maxHeight: 500 then list is scrollable but when window is smaller than 500px then it again overflows the window.
Problem description
I am using Auto Complete component of the Material UI Kit for one of my projects. We have a lengthy list of items and we use the Auto Complete component to quickly search through the items; which works well. However, when I use the component in smaller sized windows (ex: dialog box), height of the component doesn't adjust to height of the window. Therefore, I cannot access the items listed below.
I have attached a screenshot which shows similar situation in your sample
(even though all items are accessible by scrolling parent page).
Versions
Images
The text was updated successfully, but these errors were encountered: