-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
hooks change in m-table's parent component causes pageSize reset when props has function properties and data is remote #122
Comments
Completely agree! Thanks for pointing this out. We would love to an accept a PR for this!! Otherwise, we will get to it when we can. Thanks again. |
This seems like a weird bug. I will take a look at it. Thanks :) |
Hi! digged deeper and located the problem together with some related issues, but no idea what to do, need your decisions. I think the real title of this issue should be "hooks change in m-table's parent component causes pageSize reset when props has function properties and data is remote". in this case, calling the refetch function returned by then Lines 137 to 151 in 0e95344
and because Lines 119 to 120 in 0e95344
@Domino987 you mentioned this line in mbrn # 1941, I agree with you that remove in another similar mbrn # 1644 the opener suggests using further, I think it would be better if |
@oze4 @Domino987 any thoughts on this? |
Hi. Can you create a PR with the update you made by removing the remote data and i will check of that works? |
reproducible example here
when using axios-hooks, only happens when using custom column renderer,
when using the original axios, works fine even with custom renderer.
I assume this has nothing to do with axios-hooks as it works when not using custom renderer.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the pageSize menu should update when user select another pageSize, no matter using custom column renderer or not.
Desktop
The text was updated successfully, but these errors were encountered: