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.
1 parent d607c30 commit 9d06d5aCopy full SHA for 9d06d5a
packages/react-flicking/src/react-flicking/Flicking.tsx
@@ -267,7 +267,7 @@ class Flicking extends React.Component<Partial<FlickingProps & FlickingOptions>>
267
const nextChild = nextChildren[idx];
268
269
if (child.key && nextChild.key) {
270
- return child.key === nextChild.key;
+ return child.key === nextChild.key && Object.keys(child.props).every(key => child.props[key] === nextChild.props[key]);
271
} else {
272
return child === nextChild;
273
}
0 commit comments