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] - Empty row being appended to table when isLoading = true #2742

Closed
dml0031 opened this issue Apr 16, 2024 · 1 comment · Fixed by #2747
Closed

[BUG] - Empty row being appended to table when isLoading = true #2742

dml0031 opened this issue Apr 16, 2024 · 1 comment · Fixed by #2747
Labels
🐛 Type: Bug Something isn't working

Comments

@dml0031
Copy link

dml0031 commented Apr 16, 2024

NextUI Version

2.3.0

Describe the bug

When using the Table component and isLoading is set to true on the TableBody, an empty row is being added to the end of the table.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Use Table Component
  2. Set isLoading to true

Expected behavior

Expect empty row not to be appended to end of table

Screenshots or Videos

Screenshot 2024-04-16 at 1 18 59 PM

Operating System Version

Any

Browser

Chrome

@dml0031 dml0031 added the 🐛 Type: Bug Something isn't working label Apr 16, 2024
Copy link

linear bot commented Apr 16, 2024

ShrinidhiUpadhyaya pushed a commit to ShrinidhiUpadhyaya/nextui that referenced this issue Apr 16, 2024
jrgarciadev pushed a commit that referenced this issue Apr 17, 2024
* fix(table): add empty content only when table size is 0 #2742

* fix(table): added changeset

---------

Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant