We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47a97a9 + 457a3f2 commit d4e49e2Copy full SHA for d4e49e2
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