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

Длинное слово в PureCell.Text вылезает за пределы контейнера #401

Closed
2 tasks
Romkaf opened this issue Dec 7, 2022 · 0 comments · Fixed by #429
Closed
2 tasks
Assignees

Comments

@Romkaf
Copy link
Contributor

Romkaf commented Dec 7, 2022

# Опишите проблему
В компоненте
<PureCell.Text titleColor='primary' view='component'>
{ someLongWord }
</PureCell.Text>
при наличии длинного слова и узкого вьюпорта слово не разбивается, но выходит за рамки контейнера.
Предположительным решением видится добавление стилей word-break: break-word к PureCell.Text или родительскому PureCell.

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

Открыть песочницу с PureCell.Text и rowLimit={undefined} и положить внутрь очень длинное слово.

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

Слово будет разбито и перенесено на след. строку если оно выходит за рамки контейнера.

Чек лист

  • Тесты
  • Документация

Внешний вид

Ожидаемый Фактический
** Ожидаемый ** ** Фактический **

Тестовый стенд

Десктоп (если данных нет оставьте блок пустым):

Смартфон (если данных нет оставьте блок пустым):

Дополнительная информация

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants