Fix typo botton to bottom

This commit is contained in:
Bogdan
2023-06-19 14:31:37 +03:00
parent 4b8906ea62
commit e2e65627ee
2 changed files with 2 additions and 2 deletions

View File

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

View File

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