Fix typo `botton` to `bottom`

pull/1738/head
Bogdan 1 year ago
parent 4b8906ea62
commit e2e65627ee

@ -104,7 +104,7 @@ class AutoSuggestInput 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;

@ -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;

Loading…
Cancel
Save