{"action":"opened","issue":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1796","labels_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1796/labels{/name}","comments_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1796/comments","events_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1796/events","html_url":"https://github.com/twosigma/beaker-notebook/issues/1796","id":89820051,"number":1796,"title":"unformatted code cells visible by deleting or running cells","user":{"login":"scottdraves","id":963093,"avatar_url":"https://avatars.githubusercontent.com/u/963093?v=3","gravatar_id":"","url":"https://api.github.com/users/scottdraves","html_url":"https://github.com/scottdraves","followers_url":"https://api.github.com/users/scottdraves/followers","following_url":"https://api.github.com/users/scottdraves/following{/other_user}","gists_url":"https://api.github.com/users/scottdraves/gists{/gist_id}","starred_url":"https://api.github.com/users/scottdraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottdraves/subscriptions","organizations_url":"https://api.github.com/users/scottdraves/orgs","repos_url":"https://api.github.com/users/scottdraves/repos","events_url":"https://api.github.com/users/scottdraves/events{/privacy}","received_events_url":"https://api.github.com/users/scottdraves/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twosigma/beaker-notebook/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/twosigma/beaker-notebook/labels/Core%20Client","name":"Core Client","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-20T21:27:13Z","updated_at":"2015-06-20T21:27:13Z","closed_at":null,"body":"since we lazily instantiate codemirrors, there are some ways to make the visible that are not detected.\r\nfor example, you if you delete cells, then the cells that are below what's on the screen become visible\r\nbut the cms are not instantiated.  another possibility is if you have a cell with a large output.\r\nwhen you run it, the output is deleted, and a code cell below comes on screen, but is not instantiated.\r\n\r\nthere are two things to fix here.  one is to detect when cms are visible in these situations.\r\nthe other is to make the uninstantiated version of the cm more like the instantiated one.\r\nas you can see in this screenshot, it has a scrollbar and much of the text is not visible.\r\n\r\n![screen shot 2015-06-20 at 5 19 53 pm](https://cloud.githubusercontent.com/assets/963093/8269297/6f4d76ee-1771-11e5-8449-2d0bf3f87e80.png)\r\n"}}