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
if the cols props are dynamically changed when the RGL element is already mounted, React 18 will prevent it from remounting/rerendering. To solve this issue the RGL element needs to be remounted by setting and changing the key property of the RGL element.
I think this should be mentioned in the documentation that changing cols won't automatically change the RGL but only with remounting the whole element.
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
-
Hello
if the cols props are dynamically changed when the RGL element is already mounted, React 18 will prevent it from remounting/rerendering. To solve this issue the RGL element needs to be remounted by setting and changing the key property of the RGL element.
I think this should be mentioned in the documentation that changing cols won't automatically change the RGL but only with remounting the whole element.
Alex
Beta Was this translation helpful? Give feedback.
All reactions