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] OuiDataGrid scroll bar when content is larger than line height #1240

Open
ashwin-pc opened this issue Feb 7, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working untriaged

Comments

@ashwin-pc
Copy link
Member

Describe the bug

In the OuiDataGrid component, when the line count per row is 1 and the contents of the cell overflow to more than one, a small secondary scrollbar appears. See recording:

Screen.Recording.2024-02-07.at.12.10.20.AM.mov

This is happening because the height of the contents of the cell is larger than the cell height at this line count.

Screenshot 2024-02-07 at 12 13 37 AM

To Reproduce
Steps to reproduce the behavior:

  1. Go to a datagrid that has just one line per row set
  2. Keep adding columns until this happens

Expected behavior

No scrollbar should appear

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OUI Version: [e.g. 1.0]
  • OSD Version (if applicable): [e.g. 2.7.0]
  • OS: [e.g. iOS]
  • Browser and version [e.g. Chrome 90]

Additional context

Add any other context about the problem here.

@ashwin-pc ashwin-pc added bug Something isn't working untriaged labels Feb 7, 2024
@ashwin-pc ashwin-pc changed the title [BUG] OuiDataGrid scroll bar when content is larger than line height [BUG] OuiDataGrid scroll bar issues Feb 7, 2024
@ashwin-pc ashwin-pc changed the title [BUG] OuiDataGrid scroll bar issues [BUG] OuiDataGrid scroll bar when content is larger than line height Feb 7, 2024
@ananzh ananzh self-assigned this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants