feat(resize): Optimize resizing process and maintain zoom level (#3889)
This commit is contained in:
1 parent
a2a0090eeb
commit
b3a0faf5f5
37 files changed
+1395
-968
No files matched your search
@@ -19,11 +19,12 @@
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"clean": "rm -rf node_modules/.cache/storybook && shx rm -rf dist",
|
||||
"clean:deep": "yarn run clean && shx rm -rf node_modules",
|
||||
"start": "yarn run build --watch",
|
||||
"build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
|
||||
"build:package": "yarn run build",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"clean": "rm -rf node_modules/.cache/storybook",
|
||||
"dev": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
},
|
||||
|
||||
@@ -406,6 +406,7 @@ export function ViewportGridProvider({ children, service }) {
|
||||
set: gridLayoutState => service.setState(gridLayoutState), // run it through the service itself since we want to publish events
|
||||
getNumViewportPanes,
|
||||
getActiveViewportOptionByKey,
|
||||
setViewportGridSizeChanged: props => service.setViewportGridSizeChanged(props),
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user