Skip to content

Commit

Permalink
fix(grid): add resize-observer-polyfill (#2630)
Browse files Browse the repository at this point in the history
* fix(grid): add resize-observer-polyfill

* chore(next): update deps
  • Loading branch information
janryWang authored Dec 15, 2021
1 parent d485a49 commit 8c234a8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"@formily/reactive": "2.0.5",
"@formily/reactive-react": "2.0.5",
"@formily/shared": "2.0.5",
"@juggle/resize-observer": "^3.3.1",
"classnames": "^2.2.6",
"react-sortable-hoc": "^1.11.0",
"react-sticky-box": "^0.9.3"
Expand Down
3 changes: 2 additions & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"typescript": "^4.1.0"
},
"dependencies": {
"@formily/reactive": "2.0.5"
"@formily/reactive": "2.0.5",
"@juggle/resize-observer": "^3.3.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { define, observable, batch, reaction } from '@formily/reactive'
import { ChildListMutationObserver } from './observer'

import { ResizeObserver } from '@juggle/resize-observer'
export interface IGridOptions {
maxRows?: number
maxColumns?: number | number[]
Expand Down
1 change: 0 additions & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@formily/reactive": "2.0.5",
"@formily/reactive-react": "2.0.5",
"@formily/shared": "2.0.5",
"@juggle/resize-observer": "^3.3.1",
"classnames": "^2.2.6",
"react-sortable-hoc": "^1.11.0",
"react-sticky-box": "^0.9.3"
Expand Down

0 comments on commit 8c234a8

Please sign in to comment.