Autocomplete positioned upward?

Autocomplete positioned upward?

When using the autocomplete, the list of options appeared to positioning above the input box continuing to be placed outside of the field of view. However, this only happens when several options come up. When there are fewer than 5, then it is positioned below. Is this an intended behavior?