diff --git a/index.html b/index.html
index 6f58df80..d4a94211 100644
--- a/index.html
+++ b/index.html
@@ -168,7 +168,15 @@
selectedChanged: function() {
if (this.selected == 'code') {
this.designToCode();
- this.$.code.refresh();
+ this.$.code.refresh();
+ this.async(function() {
+ this.$.code.focus();
+ // TODO(sorvell): we want to fold the