/* @docs */
$autocomplete-menu-max-height: 200px !default;
/* @docs */

.autocomplete {
    --#{$prefix}autocomplete-menu-max-height: #{$autocomplete-menu-max-height};
    display: inline-block;

    &:has(.dropdown.expanded) {
        width: 100%;
    }

    .dropdown-menu {
        max-height: var(--#{$prefix}autocomplete-menu-max-height);
        overflow: auto;
    }
}
