diff --git a/.all-contributorsrc b/.all-contributorsrc
index 896e39dfffb..d98f0c3911b 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -227,6 +227,15 @@
"contributions": [
"code"
]
+ },
+ {
+ "login": "BilalBudhani",
+ "name": "Bilal Budhani",
+ "avatar_url": "https://avatars0.githubusercontent.com/u/1650995?v=4",
+ "profile": "https://bilalbudhani.com",
+ "contributions": [
+ "code"
+ ]
}
]
}
diff --git a/README.md b/README.md
index d9a033691c3..aa8d659171a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# [CodeSandbox](https://codesandbox.io) [](https://discord.gg/KE3TbEZ) [](#contributors) [](https://travis-ci.org/CompuIves/codesandbox-client) [](http://makeapullrequest.com) [](http://www.firsttimersonly.com/)
+# [CodeSandbox](https://codesandbox.io) [](https://discord.gg/KE3TbEZ) [](#contributors) [](https://travis-ci.org/CompuIves/codesandbox-client) [](http://makeapullrequest.com) [](http://www.firsttimersonly.com/)
An online code editor tailored for web applications.
@@ -40,5 +40,5 @@ Thanks goes to these wonderful people
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [
Johann Hubert Sonntagbauer](https://github.com/johann-sonntagbauer)
[🐛](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Ajohann-sonntagbauer "Bug reports") [💻](https://github.com/CompuIves/codesandbox-client/commits?author=johann-sonntagbauer "Code") | [
Joachim Seminck](https://github.com/jseminck)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=jseminck "Code") | [
Subramanya Chakravarthy](http://chakrihacker.github.io)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=chakrihacker "Code") | [
Robert (Robby) O'Connor](http://robby.oconnor.ninja)
[🚇](#infra-robbyoconnor "Infrastructure (Hosting, Build-Tools, etc)") | [
Bogdan Luca](https://github.com/lbogdan)
[🐛](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Albogdan "Bug reports") [💻](https://github.com/CompuIves/codesandbox-client/commits?author=lbogdan "Code") | [
Divjot Singh](http://bogas04.github.io)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=bogas04 "Code") | [
Jason Nall](http://www.jsonnull.com)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=jsonnull "Code") |
| [
Lionel](https://elrumordelaluz.com)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=elrumordelaluz "Code") [🎨](#design-elrumordelaluz "Design") | [
Philipp Brumm](https://github.com/brumm)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=brumm "Code") | [
Valentin Hervieu](http://valentin-hervieu.fr)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=ValentinH "Code") [🐛](https://github.com/CompuIves/codesandbox-client/issues?q=author%3AValentinH "Bug reports") | [
Anenth](http://anenth.js.org)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=Anenth "Code") [🎨](#design-Anenth "Design") [🤔](#ideas-Anenth "Ideas, Planning, & Feedback") | [
Dony Sukardi](http://dsds.io)
[🐛](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Adonysukardi "Bug reports") [💻](https://github.com/CompuIves/codesandbox-client/commits?author=donysukardi "Code") | [
Geoffrey Dhuyvetters](https://github.com/duivvv)
[🎨](#design-duivvv "Design") [💻](https://github.com/CompuIves/codesandbox-client/commits?author=duivvv "Code") | [
Eswar Yaganti](http://nyaganti.com)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=nagamalli9999 "Code") [🚇](#infra-nagamalli9999 "Infrastructure (Hosting, Build-Tools, etc)") |
-| [
Frank Tan](https://github.com/tansongyang)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=tansongyang "Code") |
+| [
Frank Tan](https://github.com/tansongyang)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=tansongyang "Code") | [
Bilal Budhani](https://bilalbudhani.com)
[💻](https://github.com/CompuIves/codesandbox-client/commits?author=BilalBudhani "Code") |
diff --git a/packages/app/package.json b/packages/app/package.json
index 028df73962d..fa0fde21ff9 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -172,7 +172,8 @@
"tern": "^0.21.0",
"vue": "^2.5.2",
"vue-template-compiler": "^2.5.2",
- "vue-template-es2015-compiler": "^1.6.0"
+ "vue-template-es2015-compiler": "^1.6.0",
+ "react-show": "^1.1.2"
},
"jest": {
"roots": [
diff --git a/packages/app/src/app/pages/Sandbox/Editor/Workspace/WorkspaceItem.js b/packages/app/src/app/pages/Sandbox/Editor/Workspace/WorkspaceItem.js
index 823dfbb194f..0cad54db814 100644
--- a/packages/app/src/app/pages/Sandbox/Editor/Workspace/WorkspaceItem.js
+++ b/packages/app/src/app/pages/Sandbox/Editor/Workspace/WorkspaceItem.js
@@ -2,13 +2,13 @@ import React from 'react';
import styled from 'styled-components';
import ExpandIcon from 'react-icons/lib/md/keyboard-arrow-down';
+import ReactShow from 'react-show';
const ChildContainer = styled.div`
position: relative;
margin: 0;
padding: 0;
- overflow: ${props => (props.open ? 'inherit' : 'hidden')};
- height: ${props => (props.open ? '100%' : 0)};
+ height: 100%;
${({ disabled }) =>
disabled &&
@@ -116,9 +116,9 @@ export default class WorkspaceItem extends React.Component {
{open && {actions}}
-
- {(keepState || open) && children}
-
+
+ {children}
+
);
}