We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3dd95a commit e8629afCopy full SHA for e8629af
examples/echo/server.go
@@ -69,6 +69,7 @@ window.addEventListener("load", function(evt) {
69
var d = document.createElement("div");
70
d.textContent = message;
71
output.appendChild(d);
72
+ output.scroll(0, output.scrollHeight);
73
};
74
75
document.getElementById("open").onclick = function(evt) {
@@ -126,7 +127,7 @@ You can change the message and send multiple times.
126
127
<button id="send">Send</button>
128
</form>
129
</td><td valign="top" width="50%">
-<div id="output"></div>
130
+<div id="output" style="max-height: 70vh;overflow-y: scroll;"></div>
131
</td></tr></table>
132
</body>
133
</html>
0 commit comments