Revert "Fix typo `botton` to `bottom`"

This reverts commit e2e65627ee.
pull/1389/head^2
Bogdan 1 year ago
parent 9a4c23797a
commit e60fe05ee0

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

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

Loading…
Cancel
Save