@itwin/itwinui-react 2.12.23 → 2.12.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/cjs/core/Table/Table.js +2 -1
- package/cjs/styles.js +1 -1
- package/esm/core/Table/Table.js +2 -1
- package/esm/styles.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.12.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b517fd0c: Fixed a bug in `Table` where `initialState.columnOrder` was not being respected.
|
|
8
|
+
|
|
9
|
+
## 2.12.24
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1868](https://github.com/iTwin/iTwinUI/pull/1868): Fixed an issue where `svg` selectors from v2 and v3 were conflicting.
|
|
14
|
+
|
|
3
15
|
## 2.12.23
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/cjs/core/Table/Table.js
CHANGED
|
@@ -298,7 +298,8 @@ const Table = (props) => {
|
|
|
298
298
|
// This is to avoid the old columnOrder from affecting the new columns' columnOrder
|
|
299
299
|
React.useEffect(() => {
|
|
300
300
|
// Check if columns have changed (by value)
|
|
301
|
-
if (
|
|
301
|
+
if (lastPassedColumns.current.length > 0 &&
|
|
302
|
+
JSON.stringify(lastPassedColumns.current) !== JSON.stringify(columns)) {
|
|
302
303
|
instance.setColumnOrder([]);
|
|
303
304
|
}
|
|
304
305
|
lastPassedColumns.current = columns;
|