|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +### 3.0.4 (Jun 15, 2021) |
| 4 | + |
| 5 | +- 🐛 Bugfix: Fix incorrect fix for `handleAxis` on DOM elements. [#175](https://github.com/react-grid-layout/react-resizable/issues/175) |
| 6 | +- ✏ Chore:Upgrade dependencies. |
| 7 | + |
3 | 8 | ### 3.0.3 (Jun 14, 2021)
|
4 | 9 |
|
5 |
| -- Fix unknown prop `handleAxis` making it to DOM elements, causing a warning in dev. |
6 |
| -- Rewrote `lockAspectRatio` logic to be more accurate and shorter. |
| 10 | +- 🐛 Bugfix: Remove unknown prop `handleAxis` making it to DOM elements, causing a warning in dev. |
| 11 | +- ✏ Chore:Rewrote `lockAspectRatio` logic to be more accurate and shorter. |
7 | 12 |
|
8 | 13 | ### 3.0.2 (Jun 8, 2021)
|
9 | 14 |
|
10 |
| -- Add documentation for resize handles and fix a mistake where the `handleAxis` prop was not being passed to custom components. |
| 15 | +- ✏ Chore:Add documentation for resize handles and fix a mistake where the `handleAxis` prop was not being passed to custom components. |
11 | 16 | - See [Resize Handles](README.md#resize-handle)
|
12 | 17 |
|
13 | 18 | ### 3.0.1 (May 10, 2021)
|
14 | 19 |
|
15 |
| -- Reduce package size through `.npmignore`. |
| 20 | +- ✏ Chore:Reduce package size through `.npmignore`. |
16 | 21 |
|
17 | 22 | ### 3.0.0 (May 10, 2021)
|
18 | 23 |
|
19 | 24 | #### Breaking
|
20 |
| -- Fixed handling of the `nodeRef` that needs to be passed to `<DraggableCore>` to avoid use of ReactDOM. This means that vanilla usage of `react-resizable` no longer requires ReactDOM. No code changes are needed in the usual case, except: |
| 25 | + |
| 26 | +- 🐛 Bugfix: Fixed handling of the `nodeRef` that needs to be passed to `<DraggableCore>` to avoid use of ReactDOM. This means that vanilla usage of `react-resizable` no longer requires ReactDOM. No code changes are needed in the usual case, except: |
21 | 27 | * React `>= 16.3` is required due to use of `React.createRef()`, and
|
22 | 28 | * The `handle` prop now sends a `ReactRef<HTMLElement>` as its second argument and expects it to be used on your returned component.
|
23 | 29 | * If you do not attach the `ref`, you will receive the following error: `"<DraggableCore> not mounted on DragStart!"` This is due to the ref being present but not attached to any node.
|
24 | 30 |
|
25 | 31 | ### 1.11.1 (Mar 5, 2021)
|
26 | 32 |
|
27 |
| -- Added React 17 to peerDependencies. |
| 33 | +- ✏ Chore: Added React 17 to peerDependencies. |
28 | 34 |
|
29 | 35 | ### 1.11.0 (Sep 3, 2020)
|
30 | 36 |
|
|
0 commit comments