You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement virtualization and using filters (also saving them) as per your manual using local storage as example, so when it re-renders, it's getting the filters from the local Storage, and it's working fine.
However, when data length is only 1, it doesn't display and I must clear the filter to show all of them.
When we have 2 rows, it displays just fine and we can see them both:
However, when I delete one, have only one row to present, I need to clear out the filter and re-apply it again:
Thanks in advance,
Daniel
Minimal, Reproducible Example - (Optional, but Recommended)
This is from the main component, which is imported from a custom component:
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms
I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
The text was updated successfully, but these errors were encountered:
mantine-react-table version
v1.3.4
react & react-dom versions
v18.2.0
Describe the bug and the steps to reproduce it
Hello,
I am trying to implement virtualization and using filters (also saving them) as per your manual using local storage as example, so when it re-renders, it's getting the filters from the local Storage, and it's working fine.
However, when data length is only 1, it doesn't display and I must clear the filter to show all of them.
When we have 2 rows, it displays just fine and we can see them both:
![mantine_bug_001](https://private-user-images.githubusercontent.com/133683070/336427517-3b2c6280-118a-4034-99a2-4e98c048dcbf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMDczNDcsIm5iZiI6MTcyMTMwNzA0NywicGF0aCI6Ii8xMzM2ODMwNzAvMzM2NDI3NTE3LTNiMmM2MjgwLTExOGEtNDAzNC05OWEyLTRlOThjMDQ4ZGNiZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOFQxMjUwNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YjIzMmY5MmVhZDZkNmIyZWVlNjViODY4NTNhOTQ3ZmM2YTBiMmFiOWU3MDBmMmY0NWQzODc0ZjA5NDczYzE1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.k4cZ2jbaGSq7CAc9iCtO2EKzB1xiorrmnF9ou5JE-DE)
However, when I delete one, have only one row to present, I need to clear out the filter and re-apply it again:
![mantine_bug_002](https://private-user-images.githubusercontent.com/133683070/336427742-c848deb6-b2e0-4973-889c-bd56ff05f836.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMDczNDcsIm5iZiI6MTcyMTMwNzA0NywicGF0aCI6Ii8xMzM2ODMwNzAvMzM2NDI3NzQyLWM4NDhkZWI2LWIyZTAtNDk3My04ODljLWJkNTZmZjA1ZjgzNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOFQxMjUwNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYWVkMGJlNzZkMDY1YTg4YzA0Y2ViMzdjZDBmYWY0YjVmZjIzNWJiOTljYWMxYjlhY2Y4ZjljYjMwYjgzYzMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.I_TqBc-U-YKl1lmyGMgAx3cGM0CeqaLlrql3RV8fesA)
Thanks in advance,
Daniel
Minimal, Reproducible Example - (Optional, but Recommended)
This is from the main component, which is imported from a custom component:
Component.jsx
Then I created the main component to style and customize...
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms
The text was updated successfully, but these errors were encountered: