chore: 🆙 upgrade react-resizable (#26524)

* chore: 🆙 upgrade react-resizable

* test: fix snapshot

* code style improve
This commit is contained in:
偏右 2020-09-02 10:51:04 +08:00 committed by GitHub
parent 4976fef1b1
commit c88fd34e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View File

@ -12352,7 +12352,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
<tr>
<th
class="ant-table-cell react-resizable"
handle="[object Object]"
>
Date
<span
@ -12361,7 +12360,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
</th>
<th
class="ant-table-cell ant-table-column-has-sorters react-resizable"
handle="[object Object]"
>
<div
class="ant-table-column-sorters-with-tooltip"
@ -12428,7 +12426,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
</th>
<th
class="ant-table-cell react-resizable"
handle="[object Object]"
>
Type
<span
@ -12437,7 +12434,6 @@ exports[`renders ./components/table/demo/resizable-column.md correctly 1`] = `
</th>
<th
class="ant-table-cell react-resizable"
handle="[object Object]"
>
Note
<span

View File

@ -141,11 +141,11 @@ ReactDOM.render(<Demo />, mountNode);
#components-table-demo-resizable-column .react-resizable-handle {
position: absolute;
right: -5px;
bottom: 0;
z-index: 1;
width: 10px;
height: 100%;
bottom: 0;
right: -5px;
cursor: col-resize;
z-index: 1;
}
```

View File

@ -254,7 +254,7 @@
"react-highlight-words": "^0.16.0",
"react-infinite-scroller": "^1.2.4",
"react-intl": "^5.3.0",
"react-resizable": "^1.8.0",
"react-resizable": "^2.0.0",
"react-router-dom": "^5.0.1",
"react-sortable-hoc": "^1.11.0",
"react-sticky": "^6.0.3",