Hi, is there any way on how to prevent pagination reset when clicking the close search icon?
Because in my case, I don't want to reset the page when the user click the search icon and then close the search without typing any search text.
I think this is a bug. :)
The pagination always change to 1-10 of 124, here are the steps:
11-20 of 124)1-10 of 124Here is the codesandbox:
https://codesandbox.io/s/boring-darkness-uqqjw
I can confirm the bug, thanks for reporting @kenjoegolo.
Maybe I can open a pull request for this?
Thanks for offering @phanshiwen, but I've already got one locally, I just wanted to push other things first so I could use some new functions.
If you still want to help in other ways, there are plenty of things needed, such as boosting the test coverage or improving compliance with material-ui v4!
Can't wait to get those fixes :)
PR up, fix will be in a patch release, coming soon.
Most helpful comment
Thanks for offering @phanshiwen, but I've already got one locally, I just wanted to push other things first so I could use some new functions.
If you still want to help in other ways, there are plenty of things needed, such as boosting the test coverage or improving compliance with material-ui v4!