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 / when list is empty, header is shown below #35

Closed
dougg0k opened this issue Jul 20, 2021 · 2 comments
Closed

bug / when list is empty, header is shown below #35

dougg0k opened this issue Jul 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@dougg0k
Copy link

dougg0k commented Jul 20, 2021

Hey, there is a bug with the renderHeader, if the list is empty and I have set the renderEmpty the renderHeader is rendered below the renderEmpty, it should most likely be rendered above, since it's the header.

Edit:
If I set hideFooterOnEmpty it hides the renderHeader which seems to be set as footer when the list is empty. There is no renderFooter set.
But if I set hideHeaderOnEmpty and remove hideFooterOnEmpty it hides the renderEmpty component and show the header instead.

@marcocesarato marcocesarato added the bug Something isn't working label Jul 20, 2021
@marcocesarato
Copy link
Owner

Hi, thanks for reporting this issue, is much apreciated. This been solved on 1.3.16

@dougg0k
Copy link
Author

dougg0k commented Jul 21, 2021

Thank you for fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants