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 adjust the number of rows in a table component based on the available height. Since I can't predict the height a row will take (it depends on the data), I let the component render with a few rows, then I compute the number of rows that will fit and I trigger a re-render.
I am getting the "Maximum recursive updates exceeded" error when doing that, on what I believe is the first update: is the "maximum"actually 1? Is there any way to turn off that check? I looks that the watcher is subsequently disabled, can I avoid that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to adjust the number of rows in a table component based on the available height. Since I can't predict the height a row will take (it depends on the data), I let the component render with a few rows, then I compute the number of rows that will fit and I trigger a re-render.
I am getting the "Maximum recursive updates exceeded" error when doing that, on what I believe is the first update: is the "maximum"actually 1? Is there any way to turn off that check? I looks that the watcher is subsequently disabled, can I avoid that?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions