We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a97a9 commit 457a3f2Copy full SHA for 457a3f2
1 file changed
src/components/WorkspaceElasticWindow.js
@@ -5,7 +5,7 @@ import { Rnd } from 'react-rnd';
5
import Window from '../containers/Window';
6
import ns from '../config/css-ns';
7
8
-const StyledRnd = styled(Rnd)(({ focused, theme }) => ({
+const StyledRnd = styled(Rnd, { shouldForwardProp: prop => prop !== 'focused' })(({ focused, theme }) => ({
9
zIndex: focused ? theme.zIndex.modal - 1 : 'auto',
10
}));
11
0 commit comments