Skip to content

Change ItemTableFilter text overflow behavior #105

Closed
wrigh393 opened this issue Oct 30, 2020 · 1 comment
Closed

Change ItemTableFilter text overflow behavior #105

wrigh393 opened this issue Oct 30, 2020 · 1 comment
Assignees
Labels
enhancement Request for a change to existing functionality

Comments

@wrigh393
Copy link
Collaborator

Currently, if the text for an ItemTableFilter is larger than its parent it overflows outside of the filter itself.

Steps to reproduce the behavior:
Got to ItemTable
Open an item in the table
See the error

The expected behavior is to have the text-overflow be an ellipsis (ex. Last update...).

Current behavior:
Screenshot 2020-10-30 170934

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 86.0.4240.111
@campb303 campb303 added enhancement Request for a change to existing functionality frontend labels Nov 25, 2020
@campb303 campb303 added this to the v1 milestone Nov 25, 2020
@wrigh393
Copy link
Collaborator Author

This issue was fixed by using the useFlexLayout prop from react-table which renders headers and cells as inline-block divs where width is used as the flex-basis and flex-grow.

Sign in to join this conversation on GitHub.
Labels
enhancement Request for a change to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants