Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Material React Table - GlobalFilterTextField triggers infinity render loop #1259

Unanswered
CodeFromTheEmpty asked this question in Q&A
Discussion options

Hej at all, thanks in advance for your time and effort.

We use a dialog which is controlled by a "material-ui-popup-state". In this dialog a material react table is displayed. Everythings working fine if only the table body is displayed.

If we render the MRT_GloabelFilterTextField the dialog triggers an infinite render loop. If you manage to type something in the textfield during constant rerender, the loop ends and the correct filtered rows are shown. If you clear the textfield again, the loop starts again.

This problem doesn't occur, if we use an own textfield with states controlled by us. But then we loose the automatic highlighting and several other benefits from the material react table.

Can someone explain this behaviour and ho to fix it?

Thank you very much for your help, effort and time!

https://stackoverflow.com/questions/79055431/material-react-table-globalfiltertextfield-triggers-infinity-render-loop

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /