Skip to content

Commit 72f65b7

Browse files
committed
Merge branch 'main' into fe-tests-robot-framework
2 parents e1b6d3f + fa51ae4 commit 72f65b7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.3.3
3+
rev: v0.3.4
44
hooks:
55
- id: ruff
66
args:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setuptools.setup(
99
name="streamlit-keyup",
10-
version="0.2.3",
10+
version="0.2.4",
1111
author="Zachary Blackwood",
1212
author_email="[email protected]",
1313
description="Text input that renders on keyup",

src/st_keyup/frontend/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ function onRender(event) {
9090
input.onkeyup = onKeyUp
9191
}
9292

93+
// Render with the correct height
94+
Streamlit.setFrameHeight(73)
95+
9396
window.rendered = true
9497
}
9598
}
9699

97100
Streamlit.events.addEventListener(Streamlit.RENDER_EVENT, onRender)
98101
Streamlit.setComponentReady()
99-
// Render with the correct height
100-
Streamlit.setFrameHeight(73)

0 commit comments

Comments
 (0)