ovh / ovh/manager

[manager-components]: DataGrid cell content does not wrap or truncate long words

Open
#17,549 3 comments 0 reactions 1 assignee View on GitHub

@jloizelovh is already working on this.

Since Jun 11, 2025.

bug manager-components
Dominant language
TypeScript
Stars
285
Forks
120
Avg merge
1d 14h
Merged PRs (30d)
49

Description

On which entity, you would like to report a bug?

DataGridTextCell

Description

When a single word inside a cell is too long (e.g. a long string without spaces), the DataGrid does not adjust the cell content properly. Instead of wrapping or truncating the word, it stretches the entire cell. Sometimes the whole table which breaks the layout and negatively affects usability.

In my case it was an operation name that is very long : "Retrying because domain_service.ds_records_state.reason_code=DsRecordStateReason.DNSSEC_ALREADY_PENDING"

Steps to reproduce

Go to https://ovh.github.io/manager/storybook-static/?path=/story/manager-react-components-components-datagrid-cursor--basic&args=columns[0].label:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

or change the label or value in a column that is very long and see the layout change : https://ovh.github.io/manager/storybook-static/?path=/story/manager-react-components-components-datagrid-cursor--basic

Browser

Firefox

Operating System
  • macOS
  • Windows
  • Linux
Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.