|
|
@ -144,7 +144,7 @@ class EnhancedSelectInput extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
const windowHeight = window.innerHeight;
|
|
|
|
const windowHeight = window.innerHeight;
|
|
|
|
|
|
|
|
|
|
|
|
if ((/^botton/).test(data.placement)) {
|
|
|
|
if ((/^bottom/).test(data.placement)) {
|
|
|
|
data.styles.maxHeight = windowHeight - bottom;
|
|
|
|
data.styles.maxHeight = windowHeight - bottom;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
data.styles.maxHeight = top;
|
|
|
|
data.styles.maxHeight = top;
|
|
|
|