alfa-laboratory / arui-feather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select - позиционирование Popup

Atcad opened this issue · comments

При выборе directions={['top-left']} и указании пропа maxHeight, высота отрезается снизу, из-за чего popup оторван от компонента Select

Ожидаемое поведение

popup прижат к верху select

Актуальное поведение

popup оторван от компонента Select

Шаги для воспроизведения

  1. Добавить в options 5-10 значений
const options = [
    { value: '01', text: 'ИП Фридман М.М.' },
    { value: '02', text: 'ООО «Виктори»' },
    { value: '03', text: 'ФГУП НПП ВНИИЭМ', props: { disabled: true } },
     { value: '04', text: 'ООО «Багочин»' },
    { value: '05', text: 'ООО «Альфа4»', props: { disabled: true } }
];
  1. Указать directions={['top-left']} maxHeight = {50}