Closed r100-stack closed 1 year ago
Have you tested user example with this new code? [Add user provided example to one of our test apps and see if this update helps with their issue]
Yes, I tested it by adding the code from the sandbox to the Vite Playground. I added it in the commits near https://github.com/iTwin/iTwinUI-react/pull/983/commits/a86264e3ce19956012c4f6b550b425a405a98324 and removed it after testing that it worked.
Closes #900
When new
columns
array contents are passed, the old/stalecolumnOrder
is still used. This could cause unintended column ordering as described in #900.To fix this, this PR resets the
columnOrder
to[]
whenever thecolumns
array contents change.Checklist