We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9df265 + 08a6e05 commit 9047441Copy full SHA for 9047441
client/packages/lowcoder/src/layout/gridLayout.tsx
@@ -147,7 +147,7 @@ class GridLayout extends React.Component<GridLayoutProps, GridLayoutState> {
147
);
148
// log.debug("layout: getDrivedState. nextProps: ", nextProps.layout, " prevState: ", prevState.layout, " newLayoutBase: ", newLayoutBase, " newLayout: ", newLayout);
149
return {
150
- layout: draggingUtils.isDragging() ? newLayout : nextProps.layout,
+ layout: draggingUtils.isDragging() ||!childrenEqual(nextProps.children,prevState.children)? newLayout : nextProps.layout,
151
// We need to save these props to state for using
152
// getDerivedStateFromProps instead of componentDidMount (in which we would get extra rerender)
153
children: nextProps.children,
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments