Forum Discussion
brandanb
Nov 14, 2019Copper Contributor
Minified React Error #185 in SharePoint Modern Site List
Whenever I try to scroll in a SharePoint list, my screen freezes for a second and then the attached error appears.
Browser: Google Chrome
- Johan VaderCopper Contributor
brandanb I have the same issue on a SharePoint Online list. The error appears in a View when I have a counter set on any of my columns and at the same time the Tabular View setting has a checkmark (the default setting on the EditView.aspx page).
When I disable the Tabular View, the error disappears. But in my case, I need the Quick Edit, and for this, the checkmark needs to be on. So instead I remove the counter(s) for my list and then the error disappears as well.
- Johan VaderCopper Contributor
Johan Vader Addtionally: The list with the error was originally created from an excel file, with the 'Add an App' option using the app to import from spreadsheet. Eventually it turned out that one item in the list had an empty Title, while the field was required field. This item was not even shown in the filtered list.
When I added a Title to this item, the error disappeared.
- Phil DetweilerBrass Contributor
Johan Vader Very similar experience. Several SharePoint list with a few hundred items, grouping or turning on totals causes this.
This is unfortunate to have exposed this fragility in a time of crisis. It boggles my mind that a standard list, with a dozen columns, breaks like this. This makes SharePoint useless or am I missing something? I have several simple lists doing this right now...
- DonnaSteinwandCopper Contributor
brandanbI'm getting this error scrolling down on a filtered view of documents in a drop off library.
- cgreen1Steel Contributor
I'm having the same issue.
- TimLBSteel Contributor
So we had a user report this problem and we're still gathering what they did to create the error. So, describe what might be happening on the page with this error, what's being clicked on etc. Screens with redacted info are helpful to see the state of the page prior to the error.
#185 text: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
So, in non-technical terms - too many things may be loading into the page and to prevent infinite looping, react is saying it's got too much to handle.
We have this reported on a page that has grouping on it, there are maybe 40 categories on the page. So I think the person having the problem on our end is attempting to expand several groups at one time and that trips this error.