Skip to content

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

Open
@Atcad

Description

@Atcad

При выборе 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}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions