Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Не работает пролистывание TextArea в ModalPage или ModalCard #2086

Closed
ajikcey opened this issue Nov 15, 2021 · 2 comments

Comments

@ajikcey
Copy link

ajikcey commented Nov 15, 2021

Описание
Если TextArea расположен в ModalPage или ModalCard, то не работает пролистывание поля ввода. Вместо этого модальное окно закрывается.

Версия библиотеки
4.21.0

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

  1. Открыть ModalPage или ModalCard с TextArea
  2. Ввести достаточно текста, чтобы появился скролбар.
  3. Попытаться проскролить содержимое TextArea

Результат
Модальное окно закрывается.

Ожидаемое поведение
Скрол в TextArea работает корректно и модальное окно не закрывается.

@ajikcey
Copy link
Author

ajikcey commented Nov 17, 2021

Реализовал модальное окно с помощью PopoutWrapper, которое не закрывается смахиванием. Окно перестало закрываться, однако Textarea по прежнему не скролится.

@MrZillaGold
Copy link
Contributor

MrZillaGold commented Nov 21, 2021

Окно перестало закрываться, однако Textarea по прежнему не скролится.

Это решение не поможет, потому что обработка смахивания происходит в ModalRoot.

Дубль #335

@pfrankov pfrankov closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants